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: Ken Fleisher <email@hidden>
- Date: Sat, 20 May 2006 02:31:22 -0400
But why does the script always return decimal values when I read the
color
picker values from an RGB file? After all an RGB file uses a 255-step
notation, just like the 8-bit architecture. What am I missing?
Shouldn't the RGB values always be full integers? Why all the decimals?
You are correct that RGB values are always full integers. I don't have
a way at the moment to test the script, but I am assuming that it has
to do with the AppleScript architecture rather than the actual value. I
haven't written an AppleScript since OS X, but I don't remember there
being different variable types. I think everything is just a floating
point. Perhaps someone more familiar with AppleScript can comment on
that.
Ken
_______________________________________________
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