I’m working a project dealing with images so I’ve been looking at the NSGraphicsContext Class Reference found here.
Specifically I’m looking at the imageIterpolation and setImageInterpolation: references. They deal with image smoothing. I notice that there’s a setting called “NSImageInterpolationHigh” and I’m wondering if the normal behavior of an image view, when scaling an image, uses high interpolation. There’s also an NSImageInterpolationDefault setting and I would guess that this is the interpolation used, although I’m not sure.
So that’s my question… which is used, the high or default setting? Also I would like to know how to change that behavior.
I tried to find the image interpolation using the following but didn’t get a result.
set imageInterpolation to call method “imageInterpolation” of (image view “iv” of view “v” of window “main”)
log imageInterpolation
I also tried setting the image interpolation with the following but couldn’t tell if that made any difference.
call method “setImageInterpolation” of (image view “iv” of view “v” of window “main”) with parameter “NSImageInterpolationHigh”
So does anyone have any experience with this?