|
-
Nov 9th, 2000, 11:42 AM
#1
Thread Starter
Junior Member
I've written code to scan a PictureBox (Picture1) from top left to bottom right pixel by pixel. I have used a loop with GetPixel for this an logged RGB values in an array.
I then want to paint another PictureBox (Picture2) with those values using SetPixel in the same loop based fasion, reading from the array.
I may modify the values between these two stages, but my problem is with SetPixel - I don't know how to define the pixel I want to set or to set it.
What I therefore need is a simple bit of code on how to paint a PictureBox using SetPixel with a value from a variable (E.g ColorVAL).
Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|