Re: Photoshop selection / pixel colors
Re: Photoshop selection / pixel colors
- Subject: Re: Photoshop selection / pixel colors
- From: "Fleisher, Ken" <email@hidden>
- Date: Wed, 20 Dec 2006 14:58:00 -0500
- Thread-topic: Photoshop selection / pixel colors
Title: Re: Photoshop selection / pixel colors
On 12/20/06 2:45 PM, "Stan Cleveland" <email@hidden> wrote:
You can’t get the bounds of a selection, despite the fact that it’s in the properties list.
Very strange! Thanks for the workaround.
Maybe you have a good suggestion for what I am trying to actually do. I need to get the average pixel color for every pixel in a selection. The same information that is in the histogram palette expanded view when you view one channel at a time.
>From the archives, I found how to get a pixel color by sampling one pixel and going through values 1-256 to see if it’s histogram is “1” and if it is, accept that index as the value. This is crazy! Is there a better way to get an RGB triplet for a single pixel. How about for a group of pixels?
Thanks!
--
Ken Fleisher
Photographer
Imaging & Visual Services
National Gallery of Art
Washington, D.C.
Phone: (202) 712-7471
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden