G
Guest
I need to transfer a bitmap from .NETCF (I assume its GDI+ format) into a
buffer in my app space. I can not apparently use GDI P/Invokes as if I create
a DIBregion I am loosing the alpha values and GDI is messing up my original
bitmap by introducing blue as a color key - for whatever reason.
Is there any way to just locate the real bitmap buffer, preferable the
entire structure of the System.Drawing.Bitmap GDI+ object, from which I can
do a memory copy via pointers?
(I have done the access with GetPixel but that is much too slow on a larger
bitmap).
I found 2.0 seems to have a Method to get that pointer, somewhere in
Drawing.Imaging, but I'd like to stay in .NETCF1 for now.
Thanks ahead!
tb
buffer in my app space. I can not apparently use GDI P/Invokes as if I create
a DIBregion I am loosing the alpha values and GDI is messing up my original
bitmap by introducing blue as a color key - for whatever reason.
Is there any way to just locate the real bitmap buffer, preferable the
entire structure of the System.Drawing.Bitmap GDI+ object, from which I can
do a memory copy via pointers?
(I have done the access with GetPixel but that is much too slow on a larger
bitmap).
I found 2.0 seems to have a Method to get that pointer, somewhere in
Drawing.Imaging, but I'd like to stay in .NETCF1 for now.
Thanks ahead!
tb