accessing clipboard image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anikkket
    New Member
    • Sep 2007
    • 2

    accessing clipboard image

    Hello there,
    I want to access image in clipboard and process it in terms of pixels.
    Means at a particular position which pixel is having which color etc.
    And without saving it on hard disk, mean just processing in the clipboard.
    Thanks.
    reply soon[/B]
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Hi,


    You can load the clipboard picture to a hidden picture/image box on the form, and get the pixel info. You have to use API's.

    Check This

    Regards
    Veena

    Comment

    • YarrOfDoom
      Recognized Expert Top Contributor
      • Aug 2007
      • 1243

      #3
      Just in case, here's a warning for if your using the latest Visual Basic bèta: watch out with the color stuff! I've tried it, and I had to give up. That program is one for when I've learned another language. Here's the link to that topic: http://www.thescripts.com/forum/thread701351.html
      If you're not using the bèta, you can just ignore this message.

      Yarr Of Doom

      Comment

      • anikkket
        New Member
        • Sep 2007
        • 2

        #4
        Actually I am making the program for a game which will manipulate the screen info and give me the result.
        I tried the following-
        transparent form without border with coded to be always on top.


        But the problem I later found that it gets invisible after certain time I don't want like that. I want it to be shown till it is manually closed

        I will also need the following info-
        • 1st of all, the clipboard is locked when the game is running.
          So I want a way to retrieve the image from clipboard after this problem solved the following -
        • How will I get the keypress of printscreen, delete, home, insert?
        • Getting pixel color of certain coordinates
        • Drawing curves from a dynamic place to mouse location

        Comment

        • YarrOfDoom
          Recognized Expert Top Contributor
          • Aug 2007
          • 1243

          #5
          You might just want to check out the topic I was referring to in my previous post. It didn't work for me, but your not using Orcas bèta 2, so it should work for you. It's about getting pixel information from the screen, so I think it might be usefull to you, unless you want to do this exactly as you specified.


          Yarr Of Doom

          Comment

          Working...