RE: Decimal precision in Photoshop's info palette
RE: Decimal precision in Photoshop's info palette
- Subject: RE: Decimal precision in Photoshop's info palette
- From: "CS Carl Stawicki (4211)" <email@hidden>
- Date: Thu, 18 May 2006 12:44:59 -0400
- Thread-topic: Decimal precision in Photoshop's info palette
Title: RE: Decimal precision in Photoshop's info palette
My take is the app does operate at a higher precision, and the numbers are just rounded for the UI. The Info Palette and color mixers are frustrating because of that. What I found out though, is that you can get ink values (and L* values also) to the 1/100 of a percent with an AppleScript (and I'm assuming _javascript_). Copy this line and paste it into Script Editor:
tell application "Adobe Photoshop CS" to get the foreground color
In Photoshop, sample a color from a CMYK or grayscale image to the foreground and run the script. The result will look like this:
{class:CMYK color, cyan:14.9, magenta:89.02, yellow:64.71, black:22.35}
You can also set the foreground or background colors to specific values:
tell application "Adobe Photoshop CS" to set the foreground color to {class:CMYK color, cyan:14.9, magenta:89.02, yellow:64.71, black:22.35}
I've been using simple scripts like that to analyze or mix color if it's critical enough to do so.
Carl Stawicki
----------
From: colorsync-users-bounces+carl.stawicki=email@hidden on behalf of Marco Ugolini
Sent: Thursday, May 18, 2006 12:25 AM
To: Roger Breton
Cc: ColorSync Users Mailing List
Subject: Decimal precision in Photoshop's info palette
In a message dated 5/17/06 6:55 PM, Roger Breton wrote:
>> And while we are at it, how about decimal places in the info palette and
>> color palette, so that 16 bit mode is truly useful?
>>
>> Abe Hayhurst
>
> Uhh! Nice. I didn't think about that. Perhaps we should approach one
> microscopic change at a time. I heard that Photoshop now counts close to one
> million line of code. Adding an Lch readout in the Info palette should not
> take more than two lines of C code. But I don't know how many extra lines of
> code would be required to add a decimal readout in 16 bit mode? That maybe
> pushing our luck ;-)
...or we could be naively optimistic and wonder whether perhaps the
application already operates internally at a higher level of precision than
it's displaying, and it's only a matter of *showing* those numbers to the
user.
Of course, I have no evidence for this, and I might just be full of beans...
Ciao.
--------------
Marco Ugolini
Mill Valley, CA
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Colorsync-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Colorsync-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden