Re: Resizing NSImage to look good
Re: Resizing NSImage to look good
- Subject: Re: Resizing NSImage to look good
- From: Graham Cox <email@hidden>
- Date: Tue, 20 Jan 2009 21:54:20 +1100
On 20 Jan 2009, at 9:46 pm, Aaron Scott wrote:
Basically, I am pulling images from AAC files, and displaying them
in an NSImageView. However, when the image is resized to fit the
NSImageView (128x128) it looks terrible. Yet somehow Apple seem to
make the same thing look great in iTunes.
Does anyone know what is the best way to make the scaled image look
good?
The first thing to try is to set the image interpolation setting of
the graphics context to NSImageInterpolationHigh just before drawing
the image.
--Graham
_______________________________________________
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