How do I convert PNG to GIF in batch by IM?

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
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

For the conversion you can use mogrify. Note however that -type palette is not needed as all GIF images are of type palette, no choice.

mogrify -format gif *.png

DANGER DANGER mogrify will replace images, in this case GIF images.


For the links that reverse the image order. That is more difficult.
First windows do not have a symbolic link concept, so you will have to use copies.
Second this is not a IM problem, and not something IM can do itself, you may need
to ask a windows/dos user on a different forum.

Do a google search for Dos scripting, hints tips and filename numbering.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply