[FFmpeg-devel] [PATCH]Animated gif transparency - secondattempt to patch

Don Moir donmoir at comcast.net
Sun Dec 30 19:02:09 CET 2012

> Don Moir <donmoir <at> comcast.net> writes:
>> http://sms.pangolin.com/temp/gold_non_transparent.gif
>> If you display this in a browser chances are it will be
>> shown incorrectly.
>> As the star rotates, the background color should be gold
>> and not transparent or black. IE and FireFox show it as
>> transparent. Opera showed it as a black background. The
>> other 3rd partly programs I used showed it correctly with
>> gold background.
>> Shown here correctly as star rotates:
>> http://sms.pangolin.com/temp/gold_shown_correct.png
> Which application plays the gif like this?
> (Or which is the relevant testing application?)

o - Easy Gif animator displays it correctly.


o - Anything using GDIPlus for gif decoding will display it correctly.

o - Anything that displays it with transparency will be wrong - these programs seem to be ignoring the transparency flag which is 
off in the above sample. It takes a special case to trigger this but if testing background_color_index for transparency it could 
fail in a number of ways.

>> Please re-apply
> I tried to apply your patch but it didn't work;-(
> How did you produce your patch?

I used git diff. Could be lack of libavcodec directory in patch.

Try again with attached and if that doesnt work then educate me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gifdec.diff
Type: application/octet-stream
Size: 525 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121230/12976ce7/attachment.obj>

More information about the ffmpeg-devel mailing list