Re: NSImage/NSBitmapImageRep color shifts when creating scaled copy
Re: NSImage/NSBitmapImageRep color shifts when creating scaled copy
- Subject: Re: NSImage/NSBitmapImageRep color shifts when creating scaled copy
- From: Kyle Sluder <email@hidden>
- Date: Fri, 6 Mar 2009 16:15:37 -0500
On Fri, Mar 6, 2009 at 2:21 PM, Steve Christensen <email@hidden> wrote:
> I'm trying to create a scaled-down copy of a large NSBitmapImageRep (i.e.,
> 3200x2400 -> 320x240). The smaller image eventually gets passed to OpenGL
> for drawing. What I'm finding is that the copy has color shifted. When I
> draw the copy, it appears to be darker and more saturated than the original.
Sounds like you're falling victim to this problem:
http://www.4p8.com/eric.brasseur/gamma.html
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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