|
-
Feb 27th, 2006, 02:25 PM
#1
Thread Starter
PowerPoster
GetPixel
What are the options for getting the color of a pixel from an image. If I dont wnat to use GetPixel (speed).
Thanks
-
Feb 27th, 2006, 02:51 PM
#2
Re: GetPixel
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
-
Feb 27th, 2006, 02:52 PM
#3
Thread Starter
PowerPoster
Re: GetPixel
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|