Re: [PATCH 5/7] gdiplus: Convert animated gif to PixelFormat32bppARGB on load
Piotr Caban <piotr(a)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. -- Dmitry.
On 03/12/15 05:08, Dmitry Timoshkov wrote:
Piotr Caban <piotr(a)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
participants (2)
-
Dmitry Timoshkov -
Piotr Caban