All selected images (as result of an OPEN in Explorer/Finder or a Drag&Drop action) are listed in a data grid.
To see a preview of the respective image, hover over the rows of the data grid.
Numbers in filenames are immediately interpreted as the page number and the images are assigned accordingly.

If the direct interpretation does not result in an acceptable assignment (e.g. too many images would be placed on pages outside the book page range), the number extracted from the file name is used for a sort and images are assigned to pages in sequential order,
In most cases, this results in the desired image -> page number assignment.
If this needs improvements, there are several options available (see below) that help to adjust the strategy.

Data Grid Use

To sort a column, click in the header cell of the respective column.Every click inverses the sort order.
All new sort order results in a recalculation of the page number assigned to file names. Only the column “Input File” itself inverts the order *without *a new calculation.
The assigned page number is shown in the PIMG Gile name. Single and double page numbering is done accordingly.

Configuration of how extracted numbers are built

If only a single number is part of the image file name, that number is used. No
Example: _myBook-page 21_de.jpg The number 21 will be used

If more than one number is contained in the file name, by default the last number is used.
Numbers are separated by non-numerical characters.

myBook_2020-02.14_12_en.jpg: The number 12 is used.

There might be needs to filter more to extract the desired number used as a page or sequence number.

Sort and Assignment

In most cases, the sort is a numerical sort and not an alphabetical sort.
The sort order e.g. is: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12… instead of 1, 10, 100, 2, 20, 200, 3, 4, 5, 6, 7, 8, 9, 11, 12 (in case of a book with more than 200 but less than 300 pages).

If the sort should be in the order the files are read, the row “org #” does exactly that: the files are numbered when read, and that order number can also be used for a sort operation.
Other options are sort by date (modification or creation date).

In most cases, these options will provide the expected results.

Automatic Assignment to Page Numbers

mz3Tool checks different strategies when making the first image -> page number assignment. If just a change of strategy from interpreting numbers as page number to sequence number for a sort does not sufficient (less than 75% assignments within the book page range), the overwrite flag is set and assigned pages will be overwritten; assuming the user intends to exchange page images.

Please keep an I on that checkbox

and also watch the hints above the preview image (top right area).

Tuning the Results

If the automatic assignment does not result in acceptable results, there are some more options available.:

Select the block of numbers to use

Which number to use if more than one number is found, can be defined in selecting one of these options:

  • first number
  • last Number
  • combined number

Example: page 85 from 2020-02-14_en.jpg as file name
The following numbers are found: 23, 85, 2020, 02, 14

The most probable number to use a page or sequence number obviously is 85
The option first (result: 23) or last (result: 14) don’t help.
But combined is promising!
All detected numbers are concatenated and build a string/number that will be used.

In our example, the result then is: 238520200214

If only the page number changes, everything will work out OK.
Even if the date changes, the assignment will be correct as long as the “page number” defines the correct sequence!

Restrict the Digits

If the numbers to use are not clearly isolated from other numbers (by non-numeric characters), the extraction based on “last – first – combined” is not sufficient.
In this case, the restriction of the count of digits to use might help.

Selecting 2 instead of all (the default), only the last 2 digits are used.
With that from a block of digits like 020001230 the last 4 digits can be extracted in setting 4 as digit count. This results in 1230 as the extracted number.

Define the Start Page Number

If not all pages are filled with images, i.e. if fewer images than pages are selected, the page number used for the first image will not be 1 but the actual open page number.

  • Image and Page Count are identical: First Image on Page 1
    Depending on the page type, i.e. single or double pages, the numbering will be adjusted.
  • Fewer images than Pages: First page assigne is the opened page
    This is true, if the checkbox Page # unchanged is selected

Even if the first selected image is not the first in the data grid, the assignment does not change, i.e. the first (unselected) image still goes to the opened page.

But if the checkbox Page # by Selection is marked, the first image of the selected block will be added to the opened page!

Confirmation and Start of the Add Process

If the selection is OK, the “Add Page Images” process can be started with a click on the bottom left button.
That button tells you in short what will happen, i.e. shows the number of images used and the count of all images available in the data grid (the number in parenthesis).

Please also see the details presented in the top right area, above the preview image.

Last modified: 21 March 2020


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment