Re: NSImage/NSBitmapImageRep color shifts when creating scaled copy

2009-03-06 Thread Steve Christensen
On Mar 6, 2009, at 1:15 PM, Kyle Sluder wrote: On Fri, Mar 6, 2009 at 2:21 PM, Steve Christensen 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

Re: NSImage/NSBitmapImageRep color shifts when creating scaled copy

2009-03-06 Thread Kyle Sluder
On Fri, Mar 6, 2009 at 2:21 PM, Steve Christensen 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 co

NSImage/NSBitmapImageRep color shifts when creating scaled copy

2009-03-06 Thread Steve Christensen
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 or