Re: CGImageForProposedRect not scaling image

2011-01-09 Thread Ken Ferry
Hi Ken, On Sat, Jan 8, 2011 at 10:00 PM, Ken Tozier wrote: > HI > > I'm trying to use NSImage's CGImageForProposedRect method to scale an image > but it's not doing it. I gat back an image the same size as the original. Yes - this method doesn't do active work like scaling if it doesn't have t

CGImageForProposedRect not scaling image

2011-01-08 Thread Ken Tozier
HI I'm trying to use NSImage's CGImageForProposedRect method to scale an image but it's not doing it. I gat back an image the same size as the original. I've double-checked all my math and that seems to be right. Here's how it's being used anyone see where I'm going wrong? - (BOOL) createThum