Commit 45cdafc5 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

gdiplus: Add 8bppIndexed to the list of supported formats.

parent dce93479
...@@ -3006,6 +3006,7 @@ GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR* filename,GpImage * ...@@ -3006,6 +3006,7 @@ GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR* filename,GpImage *
static const WICPixelFormatGUID * const wic_pixel_formats[] = { static const WICPixelFormatGUID * const wic_pixel_formats[] = {
&GUID_WICPixelFormatBlackWhite, &GUID_WICPixelFormatBlackWhite,
&GUID_WICPixelFormat1bppIndexed, &GUID_WICPixelFormat1bppIndexed,
&GUID_WICPixelFormat8bppIndexed,
&GUID_WICPixelFormat16bppBGR555, &GUID_WICPixelFormat16bppBGR555,
&GUID_WICPixelFormat24bppBGR, &GUID_WICPixelFormat24bppBGR,
&GUID_WICPixelFormat32bppBGR, &GUID_WICPixelFormat32bppBGR,
...@@ -3017,6 +3018,7 @@ static const WICPixelFormatGUID * const wic_pixel_formats[] = { ...@@ -3017,6 +3018,7 @@ static const WICPixelFormatGUID * const wic_pixel_formats[] = {
static const PixelFormat wic_gdip_formats[] = { static const PixelFormat wic_gdip_formats[] = {
PixelFormat1bppIndexed, PixelFormat1bppIndexed,
PixelFormat1bppIndexed, PixelFormat1bppIndexed,
PixelFormat8bppIndexed,
PixelFormat16bppRGB555, PixelFormat16bppRGB555,
PixelFormat24bppRGB, PixelFormat24bppRGB,
PixelFormat32bppRGB, PixelFormat32bppRGB,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment