[Bug 24278] Transparent PNG are shown inverted by applications compiled with Lazarus

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 9 14:00:57 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=24278

--- Comment #10 from Marc Weustink <marc at freepascal.org> 2010-09-09 14:00:56 CDT ---
32bpp bmp files with alpha channel suffer from the same problem.

The point is that alpha images in lazarus are not premultiplied, while the
AlphaBlend() function requires a premultiplied bitmap. So I need to premultiply
all pixels. Therefore I need the pixels of the bitmap.
I need the direction of the scanlines in order to get the sourcerectangle of
the image we want to alphablend

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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