LoadImage (4bpp) / CopyImage() crashing
comargo at gmail.com
Wed Jan 11 19:43:25 CST 2006
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2471 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060112/ef05fdd6/user_cursoricon_copyimage.2.obj
More information about the wine-devel