Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting a color from a picture that is copied on CLIPBOARD

Status
Not open for further replies.

Handcopy

Programmer
Oct 17, 2007
11
US
Hello, i was wondering if there is a way i can get a color or RGB from a picture that i have copied on my CLIPBOARD. It'd be cool.
 





Hi,

It would seem to me that a ONE COLOR picture is just a monochrome rectangle.

What kind of picture?

What is the color to be used for?

Keep in mind that the color palate in Excel is limited to 40 distinct colors that are displayed in the colored palate.

Skip,
[sub]
[glasses] When a diminutive clarvoyant had disappeared from detention, headlines read...
Small Medium at Large[tongue][/sub]
 
The picture is a screenshot of a webpage. If the color in a certain area is red or yellow, then a specific letter is put in a specific column.
 



"in a certain area"

You'll need some photoshop type software that can be controlled with VBA, so that you can sample a pixel in that certain area.

Skip,
[sub]
[glasses] When a diminutive clarvoyant had disappeared from detention, headlines read...
Small Medium at Large[tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top