• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSImage ignoring interpolation: Is this a bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSImage ignoring interpolation: Is this a bug? (From: Scott Stevenson <email@hidden>)

  • Prev by Date: Re: Repositioning an NSTextFieldCell?
  • Next by Date: Re: How can I copy/duplicate an existing NSTextField?
  • Previous by thread: NSImage ignoring interpolation: Is this a bug?
  • Next by thread: Re: NSImage ignoring interpolation: Is this a bug?
  • Index(es):
    • Date
    • Thread