Skip to main content
Inspiring
November 7, 2011
Answered

Question about color / colorpicker / eyedropper

  • November 7, 2011
  • 1 reply
  • 1009 views

I would like to know how to get the RGB value of certain pixel at certain point of time.

Thanks you

This topic has been closed for replies.
Correct answer Dan Ebberts

Your script can temporarily apply a color control to the layer, apply a sampleImage() expression to the control, harvest the result (post-effect) with your script, and delete the control,

Dan

1 reply

Dan Ebberts
Community Expert
Dan EbbertsCommunity ExpertCorrect answer
Community Expert
November 7, 2011

Your script can temporarily apply a color control to the layer, apply a sampleImage() expression to the control, harvest the result (post-effect) with your script, and delete the control,

Dan

Todd_Kopriva
Inspiring
November 7, 2011

Here's an example of using the sampleImage method that Dan mentioned:

http://blogs.adobe.com/toddkopriva/2009/07/color-sampler-using-sampleimag.html

Inspiring
November 8, 2011

It works.

Thanks for your time.