iPhone为图像添加模糊效果 [英] iPhone adding blur effect to image

查看:216
本文介绍了iPhone为图像添加模糊效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经浏览过这个常见问题的堆栈,并且发现没有默认函数可以为UIImage添加模糊效果,并且为了使其成为必须操纵单个像素......我认为有很多尝试并完成此任务的高级用户。有没有人有这方面的代码,或者一些非常具体的指针应该如何做?

I have browsed stack for this so common issue, and have found that there is no default function to add blur effect to UIImage, and in order to make it one would have to manipulate individual pixels... I presume there are many advanced users who have tried and accomplished this. Does anyone have code to this, or some really specific pointers how this should be done?

推荐答案

这是一个iOS图像过滤器库你可以使用。

Here's an iOS image filter library which you could possibly use.

https:/ /github.com/esilverberg/ios-image-filters

这篇关于iPhone为图像添加模糊效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆