how to sharp/blur an uiimage in iphone?

前端 未结 4 451
傲寒
傲寒 2020-12-19 19:15

I have a view with UIImageView and an UIImage set to it. How do I make image sharp or blur using coregraphics?

4条回答
  •  时光取名叫无心
    2020-12-19 20:07

    Apple has a great sample program called GLImageProcessing that includes a very fast blur/sharpen effect using OpenGL ES 1.1 (meaning it works on all iPhones, not just the 3gs.)

    If you're not fairly experienced with OpenGL, the code may make your head hurt.

提交回复
热议问题