Wondering if any of you can help me with this, I've been struggling with it for weeks and I've tried every relative example I could find for it.

Basically my program loads an image into a picture box, and now I need it to scan the picture and return the colour values of each pixel, and possibly set each not black pixels to white - I haven't decided that part yet but it seems the most likely action. Like I said I've tried every getpixel/setpixel example I could find and I couldn't make them work :(

Any ideas? It would be greatly appreciated