What are the options for getting the color of a pixel from an image. If I dont wnat to use GetPixel (speed).
Thanks
Printable View
What are the options for getting the color of a pixel from an image. If I dont wnat to use GetPixel (speed).
Thanks
I believe the fastest way is using Bitmap.LockBits and Bitmap.UnlockBits and marshalling the data into an array. Here is a good explanation of the whole process (which is admittedly a bit confusing compared to GetPixel):
http://www.bobpowell.net/lockingbits.htm
Bill
I thought so, i've used this before and I can use it well now. Just curious to know if there was any other method :)
Thanks