http://bugs.winehq.org/show_bug.cgi?id=13344
--- Comment #10 from Karl Piers karlpiers@yahoo.co.uk 2008-07-22 02:46:52 --- Lei Zhang, thanks very much for posting the link to Mathias Kosch's proposed fix.
I just tried it out in rc2, i.e. in dib.c, function StretchDIBits, changing the very last call to StretchBlt, so that instead of passing abs(height)-heightSrc-ySrc it passes just ySrc.
With the images I then opened in DPP this appears to solve the fit-to-window image problem! (At long last!)
Of course, Mathias Kosch must determine if the fix doesn't break anything else in order to submit it as an official change, but it looks good for those of us who use wine for DPP ...