Dmitry Timoshkov : gdiplus: Add 8bppGray 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: f165e2725f79dbb879fdf692600673d2c5386cff
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f165e2725f79dbb879fdf692600673d2c5386cff

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

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

---

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

diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index a93ade5..cef619f 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 },




More information about the wine-cvs mailing list