views:

62

answers:

2

I want to scale up an UIImage in such a way, that the user can see the pixels in the UIImage very sharp. When I put that to an UIImageView and scale the transform matrix up, the UIImage appears antialiased and smoothed.

Is there a way to render in a bigger bitmap context by simply repeating every row and every column to get bigger pixels? How could I do that?

+1  A: 

Try this question's answer.

deanWombourne
+2  A: 

#import <QuartzCore/CALayer.h>

[[view layer] setMagnificationFilter:kCAFilterNearest]

Peter DeWeese