[4/5] gdiplus: Add 8bppGray to the list of supported formats.

Dmitry Timoshkov dmitry at baikal.ru
Wed Jul 18 03:27:29 CDT 2012


---
 dlls/gdiplus/image.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index 34a0b7c..ef4355a 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -52,6 +52,7 @@ static const struct
 {
     { &GUID_WICPixelFormatBlackWhite, PixelFormat1bppIndexed, WICBitmapPaletteTypeFixedBW },
     { &GUID_WICPixelFormat1bppIndexed, PixelFormat1bppIndexed, WICBitmapPaletteTypeFixedBW },
+    { &GUID_WICPixelFormat8bppGray, PixelFormat8bppIndexed, WICBitmapPaletteTypeFixedGray256 },
     { &GUID_WICPixelFormat8bppIndexed, PixelFormat8bppIndexed, WICBitmapPaletteTypeFixedHalftone256 },
     { &GUID_WICPixelFormat16bppBGR555, PixelFormat16bppRGB555, WICBitmapPaletteTypeFixedHalftone256 },
     { &GUID_WICPixelFormat24bppBGR, PixelFormat24bppRGB, WICBitmapPaletteTypeFixedHalftone256 },
-- 
1.7.11.2




More information about the wine-patches mailing list