Parsing an bitmap image and extracting pixel info (what color it i

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello Again,

Here is what I want to do:

I have an image that is 100 px by 100 px

I want to parse each pixel in said image, and store the color of that pixel
in a file

(the reasons for this don't really matter)

Can I parse the image (using a stream?) to get the information I need?

Thanks in advance

Corey
 
You can use the Bitmap.GetPixex function to get the color at a certain
pixel in the bitmap.

I'm not sure about the performance of this method though.

It may be faster to do as the other poster suggested.
Chris (Not the Master of All Things Insignificant)
 
Back
Top