Page 1 of 1

problem resizing animated gif

Posted: 2009-07-16T01:44:50-07:00
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

Re: problem resizing animated gif

Posted: 2009-07-17T03:43:59-07:00
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 :-) )