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

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 13 18:25:44 CDT 2010


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

--- Comment #11 from Marc Weustink <marc at freepascal.org> 2010-09-13 18:25:44 CDT ---
Created an attachment (id=30739)
 --> (http://bugs.winehq.org/attachment.cgi?id=30739)
Sample source + exe showing problem with DIBsection

while then bitmap_dir example (attachment 30641) still shows an incompatibility
with windows (wine 1.3.2), it is not the source of the reversed Lazarus images.
In that example the source bitmap was based on CreateDIBitmap(), which is not
the type used for bitmaps in Lazarus.

The bitmap_dir_2 example is based on CreateDIBSection(). This shows the lazarus
problem. This example returns the wrong scanline for top to bottom bitmaps.

output on windows XP:
test 1: 0x00000001
test 2: 0x00000001
test 3: 0x00000003
test 4: 0x00000003

output on wine 1.3.2:
test 1: 0x00000001
test 2: 0x00000001
test 3: 0x00000001
test 4: 0x00000001

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