Using the Image Processing API, you can get the IBitmapImage, lock the bits of the image data, iterate over the bits through BitmapData *, and change the pixels of your choice.
Edit: I just noticed the NETCF tag, but I'm leaving this answer for reference.
a source
to share