About optimizing of gif image.

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
sunng1

About optimizing of gif image.

Post by sunng1 »

hi dears,

I'm using MagickCore for creating gif image, but the size of output image is so big when there are lot of frames.

I found a method called OptimizeImageLayers, after using this method, the file size is kinda reduced, but when it is played in some player, it's confused.

So, is there any solution to optimize gif image with MagickCore just like this software? (http://www.leapic.com/free-gif-optimizer.htm)

wish reply.

thanks.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: About optimizing of gif image.

Post by anthony »

Not in a GUI! Though it can do the job.

convert animation.gif -coalesce -layers Optimize opt_animation.gif

See IM Examples, Animation Optimization, if you want to understand more.

NOTE the above does not try to optimize the GIF by removing colors, though you can do that as well.
It is really more of a toolkit to make your own GIF optimizers.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply