I have a BitmapImage instance in Silverlight, and I am trying to find a way to read the color information of each pixel in the image. How can I do this? I see that there is a CopyPixels()
method on this class that writes pixel information into the array that you pass it, but I don't know how to read color information out of that array.
How can I do this?