identify fails silently on filenames with %d
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: identify fails silently on filenames with %d
Except that has command line limits, and does not work under dos.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: identify fails silently on filenames with %d
people use dos...?
anyway, there are perfectly reasonable ways to do that in DOS that dont have inherent ambiguities, and are not specific to one shell.
the imagemagick CLI components should each do one thing and do it well; generating a list of files is a separate task.
even if this was working CORRECTLY, there is no way to differentiate a file named %d[1,2].png from a list of files name [1.png, 2.png], without an unweildy escape sequence.
an unambiguous syntax could be: identify file1 file2 -list file%d 1 2 3 4 5 6 -- file3
this way, such an extraneous-bloat-feature could be relegated to something you have to explicitly use, instead of trip over when processing incoming files in a script.
this is bad design, not to mention really poorly documented. {for one, identify has no usage message; ---help is a file and -h is an error}
anyway, there are perfectly reasonable ways to do that in DOS that dont have inherent ambiguities, and are not specific to one shell.
the imagemagick CLI components should each do one thing and do it well; generating a list of files is a separate task.
even if this was working CORRECTLY, there is no way to differentiate a file named %d[1,2].png from a list of files name [1.png, 2.png], without an unweildy escape sequence.
an unambiguous syntax could be: identify file1 file2 -list file%d 1 2 3 4 5 6 -- file3
this way, such an extraneous-bloat-feature could be relegated to something you have to explicitly use, instead of trip over when processing incoming files in a script.
this is bad design, not to mention really poorly documented. {for one, identify has no usage message; ---help is a file and -h is an error}
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: identify fails silently on filenames with %d
That should be taken up with Cristy (magick in the forum).
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/