[SOLVED] White pixels on first frame of gif animation
Posted: 2013-03-13T07:49:32-07:00
I'm making an animated gif from a couple of PNG images.
The problem I'm having is that when the animation repeats the first frame has a couple of transparent pixels, which lets the web page background color (white) shine through.
This makes the gif very ugly because the animation looks fine except for that one frame that has a bunch of white pixels in random places "blinking" briefly. These white pixels are in otherwise dark colors of the image, making me think ImageMagick assumes that the transparent color is black...?
If I skip "-layers Optimize" the problem goes away but the gif file turns out twice as large as otherwise so that's not really an option.
How do I disable transparent pixels for the first frame in my gif animation? Or change them to solid non-transparent black?
Help me anthony, you're my only hope!
The problem I'm having is that when the animation repeats the first frame has a couple of transparent pixels, which lets the web page background color (white) shine through.
This makes the gif very ugly because the animation looks fine except for that one frame that has a bunch of white pixels in random places "blinking" briefly. These white pixels are in otherwise dark colors of the image, making me think ImageMagick assumes that the transparent color is black...?
If I skip "-layers Optimize" the problem goes away but the gif file turns out twice as large as otherwise so that's not really an option.
How do I disable transparent pixels for the first frame in my gif animation? Or change them to solid non-transparent black?
Help me anthony, you're my only hope!