I am a casual VB programmer, using VB5.
I know that to set a specific pixel at X,Y on Form1 to red, I simply need to use the following:
-
Form1.PSet (X,Y), RGB(255, 0, 0)
-
But, what if I have set the Picture property of Form1 to a .jpg file at design time, and then at run time, I wish to know the Red, Green, and Blue composition of a specific pixel on Form1? Thanks for any help, even if it's just a confirmation of my fears: "There is no opposite to PSet in VB5. You will have to instead write code to break down the .jpg"