T
tsteinke
I am in the process of creating a System.Drawing.Bitmap from a block of
memory containing a DIB Bitmap. I can think of about a half dozen ways
to do this. For perfomance reasons I don't want to be copying the
enitre bitmap around more than I have to.
Right now I am considering a Pinvoke call to CreateDIBitmap then
passing that handle to
Bitmap.FromHbitmap.
Does anyone know if Bitmap.FromHbitmap actually copies the bits
interally or if it simply sets up some sort of internal handle to the
existing bitmap.
Thanks.
memory containing a DIB Bitmap. I can think of about a half dozen ways
to do this. For perfomance reasons I don't want to be copying the
enitre bitmap around more than I have to.
Right now I am considering a Pinvoke call to CreateDIBitmap then
passing that handle to
Bitmap.FromHbitmap.
Does anyone know if Bitmap.FromHbitmap actually copies the bits
interally or if it simply sets up some sort of internal handle to the
existing bitmap.
Thanks.