Results 1 to 2 of 2

Thread: Colors, screen shots, and RGB . . .

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 1999
    Location
    Richmond, Virginia
    Posts
    41
    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!
    TheLeeMan



  2. #2

    Thread Starter
    Member
    Join Date
    Oct 1999
    Location
    Richmond, Virginia
    Posts
    41
    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).





    TheLeeMan



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width