-
Hello,
I am looking for a way for my application to get the RGB value of a screen-shot pixel. I was thinking of some ways to do this but was wondering if anyone was more knowledge on such things then I.
The best method I could think of was to (1) make the application form not visible, (2) take a screen shot, (3) print the screen shot to a new maximized form (bitblt?) (4) somehow get the pixel color from the form, and (5) convert the long value into an RGB or possible a HEX color code.
Does anyone have any better ideas or perhaps code samples which do similar functions? Thanks for your assistance!
-
Hello once again,
I have figured out parts of the question I asked earlier and am down to one simple task:
How do I convert the long RGB value into the individual, Red-Green-Blue integer values? Thanks!
(if anyone is interested in the rest of the screenshot etc code, let me know).