http://bugs.winehq.org/show_bug.cgi?id=10140
Summary: Most grayscale JPEGs cause abnormal rendering artifacts in CDisplay Product: Wine Version: 0.9.47. Platform: PC OS/Version: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: wine-gdiplus AssignedTo: wine-bugs@winehq.org ReportedBy: justivo@gmail.com
Created an attachment (id=8719) --> (http://bugs.winehq.org/attachment.cgi?id=8719) example file for testing
I've noticed this bug two years ago when I first tried Wine. I never reported it. I always expected that it was something obvious that would get fixed soon, and now here we are with version 0.9.47 and the bug still rampant. So it is not something obvious.
In Windows I frequently used the comic book reader called CDisplay[1]. When I moved on, I brought the software with me and tried it in Wine. In most cases -- because many of my scanned comic books are old and black and white -- I was unable to read the book. A weird graphical glitch, which would not output any useful debug message, would prevent me from reading the book. I managed to track, after some experimenting, that the problem was caused by most (but not all) grayscale JPEG files. A RGB colored one would not suffer from this problem.
I believe it may be a GDI+ glitch.
Since 2005 at least I've seen this problem, and it went on in every update of Wine, clean install or not. Besides the rendering glitch, the program works otherwise fine.
While the problem seemingly only affects CDisplay, it's possible that it may affect some videogames, or even Photoshop itself, and as such it may be worth checking it out.
Attached is an example file that triggers the problem. CDisplay is a freeware application. The link for download is below.
[1] http://www.geocities.com/davidayton/CDisplay.html