problem resizing animated gif

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
javo

problem resizing animated gif

Post by javo »

Hi everybody,

I'm new to ImageMagic and I wanted to use this cmd in php

system('/usr/local/bin/convert "ajax-loader.gif" -coalesce -resize 29 "tmp.gif"');

Unfortunatelly the new image is corrupted

this is the original Image

and this is the thumbnail Image

Can you somebody help me with this problem? I tried to google something but nothing helped....

Thank you so much
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: problem resizing animated gif

Post by anthony »

Looks pretty good to me! You did very well!

most problems with GIF resize, especially for animations are color problems.

See IM Examples, animations modifications, resize
http://www.imagemagick.org/Usage/anim_mods/#resize
for problems and solutions.

Otherwise exactly what is the problem with your resized animation?


PS: more discussion on a problem, the more likely a solution (and a IM Example expansion) will be found.

If you found a solution -- what was it, so others can learn (including IM Examples :-) )
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply