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.