LoadImage & 32bpp bitmaps

Kevin Koltzau kevin at plop.org
Thu Jul 7 08:21:30 CDT 2005


On Thursday 07 July 2005 7:06 am, Frank Richter wrote:
> I did so in my working copy. I also removed the double-buffering stuff
> from DrawThemeBackground(), ie I AlphaBlend() directly to the screen. I
> also made a small test case; the alpha is already missing from the
> bitmap returned from LoadImage() - the blitting there already clobbers
> the alpha channel for me.

The problem I think is when the image is put into an XImage, then copied back 
out it looses the alpha, so using GetPixel to verify will have the same 
problem (it just returns XGetPixel).  StretchBlt also does this, but 
AlphaBlend does not as its using XRenderSetPictureTransform to stretch



More information about the wine-devel mailing list