img2pdf
works very quickly with hundreds of images and creates a pdf out of them with a command like
img2pdf *.tif -o out.pdf
but the page order is wrong in my case. I ran the command in konsole
under Kubuntu 20.04.
The image files are named (renamed in Dolphin file manager) in the form
Vol_1.tif
Vol_2.tif
Vol_3.tif
...
Vol_430.tif
The resulting pdf starts with the file/page called Vol_100.tif
which makes some sense (100 is seen before 1 or 11). Then, the one called Vol_119.tif
is followed by Vol_11.tif
, Vol_129.tif
is followed by Vol_12.tif
... ...Vol_189.tif
is followed by Vol_18.tif
.
How to proceed?