Scaled image in NSImageView looks bad with layer-backing on
问题 I'd like to have a view with a gradient background and a image. So I turned on layer backing for the layer, added NSImageView and set the layer to CAGradientLayer . However, this makes the scaled-down image very ugly. See the comparison: Layer ON: , layer OFF: Has anyone observed this too? Is there any way to resolve this problem without turning off layer backing? 回答1: I stumbled across this question after running into exactly the same problem. The rendering for a layer-backed NSImageView