mirror of
https://github.com/reactos/wine.git
synced 2025-02-21 13:23:25 +00:00
gdiplus: Use WIC to decode JPEG files.
This commit is contained in:
parent
e4a3ad81be
commit
faad683e47
@ -1507,6 +1507,11 @@ static GpStatus decode_image_icon(IStream* stream, REFCLSID clsid, GpImage **ima
|
||||
return decode_image_wic(stream, &CLSID_WICIcoDecoder, image);
|
||||
}
|
||||
|
||||
static GpStatus decode_image_jpeg(IStream* stream, REFCLSID clsid, GpImage **image)
|
||||
{
|
||||
return decode_image_wic(stream, &CLSID_WICJpegDecoder, image);
|
||||
}
|
||||
|
||||
static GpStatus decode_image_olepicture_bitmap(IStream* stream, REFCLSID clsid, GpImage **image)
|
||||
{
|
||||
IPicture *pic;
|
||||
@ -2060,7 +2065,7 @@ static const struct image_codec codecs[NUM_CODECS] = {
|
||||
/* SigMask */ jpeg_sig_mask,
|
||||
},
|
||||
NULL,
|
||||
decode_image_olepicture_bitmap
|
||||
decode_image_jpeg
|
||||
},
|
||||
{
|
||||
{ /* GIF */
|
||||
|
Loading…
x
Reference in New Issue
Block a user