LoadImage (4bpp) / CopyImage() crashing

Cyril Margorin comargo at gmail.com
Wed Jan 11 19:43:25 CST 2006


Hello,

I've just noticed that Alexander had put patch that eliminates
crashing on CopyImage. The way, he solved this problem is simple and
genious. But I've found, that copied image can't be drawed to DC. So I
insist, that CopyImage should be rewrited.
The reasons are:
- GetBitmapBits function loses color table information, stored with DIB.
- New created image should be easy selectable in DC, but it must have
DIB section and associated created PhysicalPixmap.

In attachment you can find my (next) view on that function.



--
Cyril Margorin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: user_cursoricon_copyimage.2.patch
Type: application/octet-stream
Size: 2471 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060112/ef05fdd6/user_cursoricon_copyimage.2.obj


More information about the wine-patches mailing list