Quote Originally Posted by PlausiblyDamp View Post
If you are trying to create a bitmap and then draw on it you can get a graphics object with something like

Code:
Dim bmp As New Bitmap(100, 100, PixelFormat.Format32bppRgb)

Dim g = Graphics.FromImage(bmp)
and avoid all the interop stuff.

What is the end result of what you want your code to do? IS it just create and dra2w on a bitmap, or something more?
that i know.. but the DIB's are much more faster than Bitmap.SetPixel().. right?
(that's why these big conversion)
even with lockbits() and unlockBits() right?