Re: NSImage ignoring interpolation: Is this a bug?
Re: NSImage ignoring interpolation: Is this a bug?
- Subject: Re: NSImage ignoring interpolation: Is this a bug?
- From: Scott Stevenson <email@hidden>
- Date: Fri, 24 Nov 2006 19:38:44 -0800
Responding to myself...
On Nov 24, 2006, at 6:15 PM, Scott Stevenson wrote:
Playing around with NSImage I noticed that it's pretty brutal to
scaling bitmap images. It looks like it's ignoring the
interpolation setting on the context.
This draws the images in a relatively pixelated manner:
Apparently this is a known behavior. I'd call it a bug (not doing the
right thing by default), but one workaround is:
[image setCacheMode: NSImageCacheNever];
Which generates a recalculation when the size is changed.
- Scott
_______________________________________________
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