Re: NSReadPixel returning different colors
Re: NSReadPixel returning different colors
- Subject: Re: NSReadPixel returning different colors
- From: Andreas Mayer <email@hidden>
- Date: Mon, 8 Jan 2007 16:06:22 +0100
Am 08.01.2007 um 15:32 Uhr schrieb Richard Holliday:
The original pixel color in the PNG file is R:153 G:255 B:153.
On the 10.4 machine I get back R: 0.6 G: 1.0 B: 0.6
On the 10.2 machine I get back R: 0.53 G: 1.0 B 0.53
I understand this is being color adjusted by the system but I just
need the raw values with nothing adjusted in any way.
You mean on 10.2? Well, that might just be a bug.
The values reported from 10.4 are without any adjustment. 0.6*255 = 153
Andreas
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden