[Bug 43536] WIC can't encode to GUID_WICPixelFormat32bppPBGRA PNG

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 21 01:15:56 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43536

--- Comment #2 from Anton Romanov <theli.ua at gmail.com> ---
So, this happens since app renders to PNG specifying
GUID_WICPixelFormat32bppPBGRA pixelformat and wine's windowscodesc does not
support that and falls back to RGB and loses alpha channel completely
If I just add 
{&GUID_WICPixelFormat32bppPBGRA, 32, 8, PNG_COLOR_TYPE_RGB_ALPHA, 0, 1},

to png_pixelformats in pngformat.c then it all works perfectly

(though only because all pictures it uses have either 0 or 255 alpha)

-- 
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