Argh! It always comes to this when I'm working with images. Usually, when I need to programatically interpret data in a bitmap, I do it graphically, using GetPixel in a PictureBox. But that's slow and inefficient.
How can I load each pixel of a bitmap into a 2-dimensional array? Say the bitmap is 10 pixels by 10 pixels: the array would be Bitmap(10,10).
Each item in the array would contain a long value indicating the color at that location in the file.
Can someone help me with this?

Thanks!