By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,601 Members | 1,116 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,601 IT Pros & Developers. It's quick & easy.

accessing clipboard image

P: 2
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]
Sep 5 '07 #1
Share this Question
Share on Google+
4 Replies


QVeen72
Expert 100+
P: 1,445
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
Sep 5 '07 #2

YarrOfDoom
Expert 100+
P: 1,247
Just in case, here's a warning for if your using the latest Visual Basic bta: 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 bta, you can just ignore this message.

Yarr Of Doom
Sep 5 '07 #3

P: 2
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
Sep 12 '07 #4

YarrOfDoom
Expert 100+
P: 1,247
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 bta 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
Sep 12 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.