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: Giordano Galli <email@hidden>
- Date: Fri, 19 May 2006 14:57:12 +0200
On May 19, 2006, at 8:45 AM, Marco Ugolini wrote:
6) The results this time will be {class:CMYK color, cyan:14.12,
magenta:89.02, yellow:63.92, black:21.96}. The colors have shifted,
albeit
slightly, but nonetheless they are not exactly what they are supposed
to be
I'd consider these to be the correct decimal values for
an 8-bit document when using two decimal precision, ie
the xx.xx decimal representation of the document's
binary values.
Considering the unit of the 8-bit binary representation
has decimal value 100/255=0.39, the above-mentioned cmyk
values can be written as:
14.12 -> 36 units - binary 00100100
89.02 -> 227 units - binary 11100011
36.92 -> 163 units - binary 10100011
21.96 -> 56 units - binary 00111000
I think we can't have values such as 14%. In particular,
I expect our input to be instantly 'rounded' to the binary
representation of data.
Btw, I guess you'd get a far smaller rounding in 16-bit
documents.
As to why Photoshop initially returns the 'string'
representation of colours, I have no idea. :)
giordano
_______________________________________________
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