As the developer of Seashore, using
[[NSGraphicsContext currentContext] setImageInterpolation:NSImageInterpolationNone];
no longer works as expected in Big Sur on a Retina display. The exact build works fine in Catalina.
Small images seem to be first scaled using Medium or High interpolation to 2x, then scaled use 'None' to the desired size - causing blurriness.
This the code to display and scale the image:
[[NSGraphicsContext currentContext] setImageInterpolation:NSImageInterpolationNone];
[image drawInRect:alignedRect fromRect:copy operation:NSCompositeSourceOver fraction:1.0 respectFlipped:TRUE hints:NULL];
Any ideas for a fix?
2
0
847