possible bug -scene when used in filenames
Posted: 2018-02-01T12:16:02-07:00
I have a 3 page pdf:
http://www.fmwconcepts.com/misc_tests/test.pdf
Problem 1:
In IM 6.9.9.34 Q16 Mac OSX Sierra, if I run this command
The resulting image are named:
Note that -scene seems to be ignored, since the file name scene numbers start with 0 and not 1
Problem 2:
In IM 7.0.7.22 Q16 HDRI Mac OSX Sierra, if I run the same command as
The resulting image are named:
Here all names start with 1 and do not increase to 2 and 3.
If I remove the -scene 1 from the command, then I properly get the following file names:
P.S. Is there any way to get scene numbers with leading zeros? If not, can a new -define be created to allow such? For example -define scene:zeroes=N or something like that, where N is the number of leading zeroes or -define filename:scene-zeroes=N, or something like that.
http://www.fmwconcepts.com/misc_tests/test.pdf
Problem 1:
In IM 6.9.9.34 Q16 Mac OSX Sierra, if I run this command
Code: Select all
convert -density 150 test.pdf -scene 1 -set filename:mysize '%s_%wx%h' -compress zip +adjoin new_%[filename:mysize].tif
Code: Select all
new_0_533x533.tif
new_1_552x694.tif
new_2_833x623.tif
Problem 2:
In IM 7.0.7.22 Q16 HDRI Mac OSX Sierra, if I run the same command as
Code: Select all
magick -density 150 test.pdf -scene 1 -set filename:mysize '%s_%wx%h' -compress zip +adjoin new_%[filename:mysize].tif
Code: Select all
new_1_533x533.tif
new_1_552x694.tif
new_1_833x623.tif
If I remove the -scene 1 from the command, then I properly get the following file names:
Code: Select all
new_0_533x533.tif
new_1_552x694.tif
new_2_833x623.tif
P.S. Is there any way to get scene numbers with leading zeros? If not, can a new -define be created to allow such? For example -define scene:zeroes=N or something like that, where N is the number of leading zeroes or -define filename:scene-zeroes=N, or something like that.