[Point of trouble]
According to the current specifications, the file name of the saved image file seems to have at least 3 digits.
When I save several book files containing hundreds of pages in succession, the cumulative number of saved images exceeds 1000, and for example, the following files are generated.
001.jpg
002.jpg
...
098.jpg
099.jpg
100.jpg
101.jpg
102.jpg
...
998.jpg
999.jpg
1000.jpg
1001.jpg
...
For example, most applications bundled with Windows (such as Explorer and Photo Viewer) compare consecutive numbers numerically, so they are displayed in the same order as described above. In this case, there is no problem since the images match the order in which they were saved.
However, some image viewer applications order filenames as just an array of characters.
In this case, for example, they will be displayed in the following order.
001.jpg
002.jpg
...
098.jpg
099.jpg
100.jpg
1000.jpg <- NG!
1001.jpg <- NG!
... <- NG!
101.jpg
102.jpg
...
998.jpg
999.jpg
This is different from the order in which the images were saved, which is inconvenient when viewing them.
[Proposed solution]
The first thing I considered was changing the specification that "the number of digits in the file name must be at least 3 digits" to "4 digits or more" (or 5 digits or more).
However, some users may be dissatisfied with long file names under normal operation. Also, the question of how many digits in a number is sufficient depends on the user's operational method, so I think it would be better not to fix the number of digits in a number.
Currently, I am trying to change the code experimentally according to the following policy.
- Enable to specify the number of digits attached to the file name using the command argument of Dll_Injector.exe
- If no argument is specified, the number of digits will be 3.
If you adopt this approach, it is likely that code that uses shared memory will also be affected.
If the status of consideration changes, I will report again.