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

Alexandre Julliard julliard at winehq.org
Wed Jul 25 16:06:54 CDT 2012


Module: wine
Branch: master
Commit: 45cdafc5e8bd813ea4ddf93913b1deef53119183
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=45cdafc5e8bd813ea4ddf93913b1deef53119183

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Wed Jul 18 17:25:54 2012 +0900

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

---

 dlls/gdiplus/image.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index 111bafd..81fa16b 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,




More information about the wine-cvs mailing list