As the developer of Seashore, using
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:
Any ideas for a fix?
Code Block [[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:
Code Block [[NSGraphicsContext currentContext] setImageInterpolation:NSImageInterpolationNone]; [image drawInRect:alignedRect fromRect:copy operation:NSCompositeSourceOver fraction:1.0 respectFlipped:TRUE hints:NULL];
Any ideas for a fix?