[Bug 38622] gdiplus should return PixelFormat32bppARGB instead of PixelFormat8bppIndexed for a grayscale PNG file
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Sep 8 22:05:51 CDT 2016
https://bugs.winehq.org/show_bug.cgi?id=38622
David Korth <gerbilsoft at gerbilsoft.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gerbilsoft at gerbilsoft.com
--- Comment #9 from David Korth <gerbilsoft at gerbilsoft.com> ---
Created attachment 55621
--> https://bugs.winehq.org/attachment.cgi?id=55621
Sample grayscale PNG image.
I've been getting slightly different behavior on wine-1.9.16 (and wine-1.9.18).
I have a grayscale PNG image, and wine's gdiplus is actually converting it to
ARGB32, like the Windows GDI+ does; however, it's also reporting image flags of
0x13042. This indicates the image is grayscale (0x40), and it has an alpha
channel (0x02). The alpha value is bogus; on Windows XP, it returns 0x40.
I attached a sample image that I'm using in a test suite with GDI+ as a backend
on Windows.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list