[PATCH 5/7] gdiplus: Convert animated gif to PixelFormat32bppARGB on load

Piotr Caban piotr.caban at gmail.com
Thu Mar 12 03:02:51 CDT 2015


On 03/12/15 05:08, Dmitry Timoshkov wrote:
> Piotr Caban <piotr at codeweavers.com> wrote:
>
>> +    status = decode_frame_wic(decoder, frame_count>1 ? TRUE : FALSE,
>> +            0, gif_metadata_reader, image);
>
> The format probably doesn't depend on a frame count but on a presence of
> transparent color.
>
It's needed for animated gifs because every frame may use different 
palette. There already is a test that shows the conversion is done when 
animated gif doesn't use transparency.

I'll check what happens for non-animated gif with transparent color. 
With my code it works the same as it worked earlier.

Thanks,
Piotr



More information about the wine-devel mailing list