Convert animated gif result in a large size

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
howa

Convert animated gif result in a large size

Post by howa »

original size: 130x167



convert.exe original.gif -coalesce original-1.gif

convert.exe -geometry 100x167 original-1.gif output.gif

the image is smaller, but the size is larger, how to fix this?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

You can start by not using -geometry, but use -resize instead. and second, read you image BEFORE modifying them! :-)

Rezing animations is frught with problems, most of which is due to the color and transparency limitations of GIF. The result also often has optimization problems caused by this too.

The new -ordered-dither color reduction methods should help you fix some of these problems, but I have not organised these facts yet for IM Examples.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply