Resizing an animated gif causes frames to gain background
Posted: 2013-12-24T23:04:04-07:00
I am trying to resize this animated GIF:
First I run coalesce:
This results in:
Then I resize:
Which results in:
In step 2, when we do the coalescing, the animation is damaged as the frames now gain a background. Why does this happen? How can this be prevented?
First I run coalesce:
Code: Select all
convert beaver.gif -coalesce temporary.gif
Then I resize:
Code: Select all
convert -size 80x168 temporary.gif -resize 40x40 smaller.gif
In step 2, when we do the coalescing, the animation is damaged as the frames now gain a background. Why does this happen? How can this be prevented?