From 45cdafc5e8bd813ea4ddf93913b1deef53119183 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Wed, 18 Jul 2012 17:25:54 +0900 Subject: [PATCH] gdiplus: Add 8bppIndexed to the list of supported formats. --- dlls/gdiplus/image.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 111bafdb138..81fa16ba2af 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -3006,6 +3006,7 @@ GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR* filename,GpImage * static const WICPixelFormatGUID * const wic_pixel_formats[] = { &GUID_WICPixelFormatBlackWhite, &GUID_WICPixelFormat1bppIndexed, + &GUID_WICPixelFormat8bppIndexed, &GUID_WICPixelFormat16bppBGR555, &GUID_WICPixelFormat24bppBGR, &GUID_WICPixelFormat32bppBGR, @@ -3017,6 +3018,7 @@ static const WICPixelFormatGUID * const wic_pixel_formats[] = { static const PixelFormat wic_gdip_formats[] = { PixelFormat1bppIndexed, PixelFormat1bppIndexed, + PixelFormat8bppIndexed, PixelFormat16bppRGB555, PixelFormat24bppRGB, PixelFormat32bppRGB,