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?
Post
Replies
Boosts
Views
Activity
I received the attached crash report. The problem is that the crash report does not contain the abort reason - it appears to be thrown in the GCD library with no additional information.
Is it a possible deadlock?
2023-02-15_02-40-23.0077_+0100-94015bd052c4005658221a5e6279f28a75b9e92c.crash
Any ideas?