When you put a UIImage
into a UIImageView
that is smaller than the view, and the content mode of the view is ScaleToFit
, iOS enlarges the bitmap, as expected. What I have never expected is that it blurs the edges of the pixels it has scaled-up. I can see this might be a nice touch if you're looking at photographs, but in many other cases I want to see those nasty, hard, straight edges!
Does anyone know how you can configure a UIImage
or UIImageView
to enlarge with sharp pixel edges? That is: Let it look pixellated, not blurred.
Thanks!