[2/2] gdiplus: Add 8bpp to the list of supported formats.

Dmitry Timoshkov dmitry at baikal.ru
Tue Jul 17 23:01:29 CDT 2012


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

diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index 9a82ede..e2aac9a 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -3006,6 +3006,8 @@ static ColorPalette *get_palette(IWICBitmapFrameDecode *frame)
 static const WICPixelFormatGUID * const wic_pixel_formats[] = {
     &GUID_WICPixelFormatBlackWhite,
     &GUID_WICPixelFormat1bppIndexed,
+    &GUID_WICPixelFormat8bppGray,
+    &GUID_WICPixelFormat8bppIndexed,
     &GUID_WICPixelFormat16bppBGR555,
     &GUID_WICPixelFormat24bppBGR,
     &GUID_WICPixelFormat32bppBGR,
@@ -3017,6 +3019,8 @@ static const WICPixelFormatGUID * const wic_pixel_formats[] = {
 static const PixelFormat wic_gdip_formats[] = {
     PixelFormat1bppIndexed,
     PixelFormat1bppIndexed,
+    PixelFormat8bppIndexed,
+    PixelFormat8bppIndexed,
     PixelFormat16bppRGB555,
     PixelFormat24bppRGB,
     PixelFormat32bppRGB,
-- 
1.7.11.2




More information about the wine-patches mailing list