[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.drawing

Temporarily ignore alpha with PixelFormat32bppRGB

fullscreen

10/28/2004 9:05:00 PM

Hello

Is there a way to temporarily turn off the alpha channel in a
"PixelFormat32bppARGB" bitmap ? (Tell GDI+ that all pixels are
opaque.)

I'd hoped that PixelFormat32bppRGB would work, but it does not.
Apparently 32-RGB is RGBx and 32-ARGB is ARGB so they are not
compatible.

Is there a pixel format I have not discovered, or must I shuffle bytes
back and forth in my memory block?

Thank you for any suggestions or pointers
ray