[Adium-devl] [Adium-svn] rev 21554 - branches/adium-1.1/Frameworks/AIUtilities Framework/Source trunk/Frameworks/AIUtilities Framework/Source

Colin Barrett timber at lava.net
Wed Nov 7 17:05:47 UTC 2007


On Nov 6, 2007, at 12:12 PM, boredzo at adiumx.com wrote:

> As of Mac OS X 10.5.0, drawing certain images into a smaller image  
> results in a cached image rep being created at the destination  
> image's size, rather than the source image's size, and the source  
> image's original rep being thrown away. When we later went to draw  
> the image at full size, the image was scaled up, resulting in a  
> blocky mess.

Is there a reason we aren't doing

foo = [self copy]
[foo setScalesWhenResized:YES]
[foo setSize:newSize]

Instead?

Also, if we don't want to do that, what about forcing a cached image  
rep to be created at full size (if one isn't present)?

-Colin




More information about the Adium-devl mailing list