gdiplus: Add 4bppIndexed to the list of supported formats.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
748a246a8d
commit
0e082c0416
|
@ -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 },
|
||||
|
|
Loading…
Reference in New Issue