• 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: Dmitri Goutnik <email@hidden>
  • Date: Wed, 28 May 2008 11:11:10 +0400


On May 28, 2008, at 4:37 AM, also wrote:

I've created a custom NSView that displays an image and allows the
user to zoom in and out.  The view works in general, but the quality
of the image displayed is not what I expect.  When I zoom in even
slightly on a high resolution image (300 dpi, 500x500) the image is
grainy and pixelated.  If I do the same in Preview the quality is much
better.



Not sure about zooming in, but for zooming out adjusting image interpolation mode produces somewhat better looking results:

	[context setImageInterpolation:NSImageInterpolationHigh];

- Dmitri

_______________________________________________

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>)

  • Prev by Date: Re: NSNotificationCenter: addObserver:selector:name:object: - Specifying a single event
  • Next by Date: Storing miscellaneous singleton data in CoreData app?
  • Previous by thread: Re: NSImage display quality and zooming
  • Next by thread: Re: NSImage display quality and zooming
  • Index(es):
    • Date
    • Thread