iPhone: Blur UIImage

后端 未结 5 1012
情话喂你
情话喂你 2020-12-15 00:42

In my iPhone application I have a black-and-white UIImage. I need to blur that image (Gaussian blur would do).

iPhone clearly knows how to blur images,

5条回答
  •  清歌不尽
    2020-12-15 01:17

    Basically there is no a straight forward API to implement the blur effect. You need to process the pixels to accomplish that.

    iPhone draw shadows by means of gradient and not through blurring.

提交回复
热议问题