Below is an example of how to use the GetPixel() & SetPixel() Windows API calls.
A PictureBox is filled with a random image drawn using SetPixel(), and its contents copied to a second PicturBox using both GetPixel() & SetPixel()
GetPixelAndSetPixel.frm


Reply With Quote
