gdiplus: Properly set the gdi+ format to match the wic encoder's format.
This commit is contained in:
parent
6fb92b79fa
commit
b14a4ca006
|
@ -4078,7 +4078,7 @@ static GpStatus encode_image_WIC(GpImage *image, IStream* stream,
|
||||||
{
|
{
|
||||||
if (IsEqualGUID(&wicformat, pixel_formats[i].wic_format))
|
if (IsEqualGUID(&wicformat, pixel_formats[i].wic_format))
|
||||||
{
|
{
|
||||||
gdipformat = bitmap->format;
|
gdipformat = pixel_formats[i].gdip_format;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue