converting IntPtr to Bitmap

kjw

New member
Joined
Jan 2, 2005
Messages
2
hi

w want to convert RAW bitmap data to Bitmap can somebody help??
i have seen thread on this forum about that and i try to use
[C#]
public Bitmap(
int width,
int height,
int stride,
PixelFormat format,
IntPtr scan0
);
but i dont know hot to determine PixelFormat from IntPtr
 
i try System.Drawing.Image.FromHbitmap by program exit when do this line whats wrong??
 
Back
Top