Is there a faster alternative to GDI GetPixel()?

Fast access to pixels are possible using LockBits() method of the Bitmap. This will return to you an object containing a pointer to the start of the pixel data and you can use unsafe code to access the memory.

https://web.archive.org/web/20150330113356/http://bobpowell.net/lockingbits.aspx

Leave a Comment