Reputation: 889
I am trying to upload some animated GIFs. Some work great, others get messed up as seen in the attached example. Here is my basic ImageMagick command:
exec(" convert elephant_upload.gif -strip -resize 600x600 elephant_output.gif ");
Anyone know what im doing wrong here?
Original Gif:
Processed Gif:
Upvotes: 1
Views: 1265
Reputation: 53089
You need to coalesce your frames in Imagemagick before resizing in your command. So try
convert elephant.gif -strip -coalesce -resize 600x600 -layers optimize x.gif
Upvotes: 2