Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert optimised gif to single frames using ImageMagick

I have some creative Commons gifs I would like to use, but I need them as single frames. However, the gif is optimised, so when I pull it apart via

convert the.gif frames/%02d.tga

Some of the images are just fragments out of place, and way smaller than the original one.

So is there a way to render the single frames as they're viewed in a viewer?

like image 468
Lanbo Avatar asked Jun 14 '12 18:06

Lanbo


1 Answers

you may want to add a -coalesce option to your command: convert -coalesce the.gif frames/%02d.tga

like image 118
wehal3001 Avatar answered Dec 06 '22 03:12

wehal3001