http://bugs.winehq.org/show_bug.cgi?id=14891
Summary: Bitmaps with offset bits do not display correctly Product: Wine Version: CVS/GIT Platform: PC URL: http://entropymine.com/jason/bmpsuite/ OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: winehq@gringer.dis.org.nz
Created an attachment (id=15458) --> (http://bugs.winehq.org/attachment.cgi?id=15458) program to load a bitmap from command line, display on screen
I was hunting around for small windows programs to display bitmaps via GDI so that I could test the bitmap display code in Wine (to follow an afterthought I had relating to bug 14868). Since I wasn't able to find anything, I decided to write my own (attached), then run it through Jason Summers' bitmap test suite (http://entropymine.com/jason/bmpsuite/reference/reference.html). One of these bitmaps failed the test (g08offs.bmp), appearing different to the reference image. According to the reference page, the "... bfOffBits in [the] header not set to the usual value. There are 100 extra unused bytes between palette and bits."
The program has been compiled with mingw32 (Version 4.2.1.dfsg-1) on a Debian system (see Makefile for full parameters etc.).
Running Wine off a git branch pulled ~1.5 days ago, with patch from bug 14868.