Commit 0e082c04 authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

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

parent 748a246a
......@@ -55,6 +55,7 @@ static const struct
{
{ &GUID_WICPixelFormatBlackWhite, PixelFormat1bppIndexed, WICBitmapPaletteTypeFixedBW },
{ &GUID_WICPixelFormat1bppIndexed, PixelFormat1bppIndexed, WICBitmapPaletteTypeFixedBW },
{ &GUID_WICPixelFormat4bppIndexed, PixelFormat4bppIndexed, WICBitmapPaletteTypeFixedHalftone8 },
{ &GUID_WICPixelFormat8bppGray, PixelFormat8bppIndexed, WICBitmapPaletteTypeFixedGray256 },
{ &GUID_WICPixelFormat8bppIndexed, PixelFormat8bppIndexed, WICBitmapPaletteTypeFixedHalftone256 },
{ &GUID_WICPixelFormat16bppBGR555, PixelFormat16bppRGB555, WICBitmapPaletteTypeFixedHalftone256 },
......
......@@ -5213,7 +5213,7 @@ static void test_png_color_formats(void)
{ 0, 0 }}},
{ 4, PNG_COLOR_TYPE_PALETTE,
{{ PixelFormat32bppARGB, ImageFlagsColorSpaceRGB },
{ PixelFormat4bppIndexed, ImageFlagsColorSpaceRGB, TRUE },
{ PixelFormat4bppIndexed, ImageFlagsColorSpaceRGB },
{ 0, 0 }}},
{ 8, PNG_COLOR_TYPE_PALETTE,
{{ PixelFormat32bppARGB, ImageFlagsColorSpaceRGB },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment