Bass said:
Bass said:
*snip*

Per chance, does anyone here know if a call to LockBits() prohibits the bitmap object from being garbage collected?

I am thinking of perhaps a much more efficent way to do this, passing the pointer bmp.LockBits().Scan0

If you’re just wanting to access the bitmap data then that’s probably the best way to do it in C#.