• 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 display quality and zooming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage display quality and zooming


  • Subject: Re: NSImage display quality and zooming
  • From: Michael Vannorsdel <email@hidden>
  • Date: Tue, 27 May 2008 19:13:54 -0600

I think this is right as well. The image can be cached in a form best suited for the first draw of it. Any further draws will very likely use the cached version and the original resolution is gone. If you set it not to cache, the image will be drawn from the original data each time. You will lose performance when drawing the same resolution over and over but at least you can scale it from the original higher detail for sharper results.


On May 27, 2008, at 6:58 PM, Graham Cox wrote:

I'm not 100% on this, but I think you need to set the cache mode on the NSImage to disable caching, i.e:

[image setCacheMode: NSImageCacheNever];

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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 display quality and zooming (From: also <email@hidden>)
 >Re: NSImage display quality and zooming (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSImage display quality and zooming
  • Next by Date: Re: NSImage display quality and zooming
  • Previous by thread: Re: NSImage display quality and zooming
  • Next by thread: Re: NSImage display quality and zooming
  • Index(es):
    • Date
    • Thread