https://bugs.winehq.org/show_bug.cgi?id=38622
Bug ID: 38622 Summary: PixelFormat32bppARGB != PixelFormat8bppIndexed Product: Wine Version: 1.6.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mathieu.malaterre@gmail.com Distribution: ---
Created attachment 51527 --> https://bugs.winehq.org/attachment.cgi?id=51527 source code
For some reason GDI+ on windows returns PixelFormat32bppARGB instead of PixelFormat8bppIndexed for a grayscale PNG file (JPEG & TIFF seems consistant though).
It would be nice if behavior would be consistant across implementation.
Compile and run attachements.
From Linux:
$ ./gdidump.exe input.png fixme:wincodecs:PngDecoder_Block_GetCount 0x142e30,0x61f708: stub Width x Height: 512 512 PixelFormat8bppIndexed found !
From Windows:
gdidump.exe input.png
Width x Height: 512 512 PixelFormat32bppARGB found !