Re: NSImageView setImageScaling:NSScaleToFit blurs image
Re: NSImageView setImageScaling:NSScaleToFit blurs image
- Subject: Re: NSImageView setImageScaling:NSScaleToFit blurs image
- From: "R.L. Grigg" <email@hidden>
- Date: Tue, 4 Mar 2008 12:02:35 -0800
Mike, yes that is something we tried but it seems to have no effect
on the blurring.
Thx,
Russ
On Mar 4, 2008, at 11:52 AM, Mike Abdullah wrote:
When you draw the image, have you tried doing [[NSGraphicsContext
currentContext] setImageInterpolation: NSImageInterpolationNone] ?
Mike.
On 4 Mar 2008, at 19:13, R.L. Grigg wrote:
I have a series of tiny (32x32) PGM image astronomical IR data in
memory that I display on screen zoomed up to 640x640. Right now Im
using a NSImageView and setImageScaling:NSScaleToFit. This works
but some sort of gaussian blur gets applied to the image ruining
the analysis.
Is there a setting to turn off this default blur or is there
another way I can zoom display a small image (QCView?) but without
the blur? The net effect of what we need is a sharp pixellated
image not one where the pixellated block edges are smeared.
OSX 10.5.2, Xcode 3.0, ObjC 2.0
_______________________________________________
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