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 20:28:03 -0400
- Thread-topic: Decimal precision in Photoshop's info palette
Title: RE: Decimal precision in Photoshop's info palette
Yeah, RGB gives you those high precision numbers, but I never understood why. To me, 8-bit should mean integers from 0-255. There's more going on under the hood than I understand.
Carl.
-----Original Message-----
From: Marco Ugolini [mailto:email@hidden]
Sent: Thu 5/18/2006 6:51 PM
To: CS Carl Stawicki (4211); ColorSync Users Mailing List
Subject: RE: Decimal precision in Photoshop's info palette
In a message dated May 18, 2006 12:44 PM, Carl Stawicki wrote:
>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}
Hi Carl.
This is a revelation to me. I had no idea this could be done. Goes to show how little I really know...
And I am getting results with much higher precision than 2 decimal points. I actually get results like this:
{class:RGB color, red:215.996108949416, green:109.003891050584, blue:217.0}
That is 12 decimal points! Not that I would need that much precision for my purposes, but it's quite amazing that the application goes that deep.
And also, these values, rounded up to the first two decimals, are confirmed by sampling the color in ColorLab.
>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}
Amazing. I'm most grateful for this very helpful tip.
>I've been using simple scripts like that to analyze or
>mix color if it's critical enough to do so.
Indeed.
Best regards.
--------------
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