identify fails silently on filenames with %d

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
User avatar
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

Post by anthony »

Except that has command line limits, and does not work under dos.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
teleshoes
Posts: 10
Joined: 2012-09-04T10:44:22-07:00
Authentication code: 67789

Re: identify fails silently on filenames with %d

Post by teleshoes »

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}
User avatar
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

Post by anthony »

That should be taken up with Cristy (magick in the forum).
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply