Is there a noreplace 'switch' for generate output file name?

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?".
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Is there a noreplace 'switch' for generate output file name?

Post by magick »

Try the following:
  • convert logo: logo: logo: logo: logo.gif
    convert logo.gif test.jpg
    convert logo.gif -scene 4 test.jpg
    dir *.jpg
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Is there a noreplace 'switch' for generate output file name?

Post by anthony »

Also try adding something like %04d in the filename. That specifies a 4 digit number with leading zeros, so the files will still sort correctly alphabetically.

See Im Examples, Writing Multiple Image sequences...
http://imagemagick.org/Usage/files/#write_seq
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply