FROM : R.L. Grigg
DATE : Tue Mar 04 21:02:35 2008
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
>>
DATE : Tue Mar 04 21:02:35 2008
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
>>
| Related mails | Author | Date |
|---|---|---|
| R.L. Grigg | Mar 4, 20:13 | |
| Mike Abdullah | Mar 4, 20:52 | |
| R.L. Grigg | Mar 4, 21:02 | |
| Jens Alfke | Mar 4, 21:59 | |
| R.L. Grigg | Mar 4, 22:44 |






Cocoa mail archive

