iphone - How to scale up an UIImage without smoothening anything? -


i want scale uiimage in such way, user can see pixels in uiimage sharp. when put uiimageview , scale transform matrix up, uiimage appears antialiased , smoothed.

is there way render in bigger bitmap context repeating every row , every column bigger pixels? how that?

#import <quartzcore/calayer.h>

view.layer.magnificationfilter = kcafilternearest


Comments