如何在iPhone应用程序中添加图像滤镜?(类似于Instagram和picplz的功能)
如何在iPhone应用程序中添加图像滤镜?(类似于Instagram和picplz的功能)
大家好,
我尝试使用纯CoreGraphics和直接像素操作来复制Instagram和Photoshop的滤镜效果,而非使用OpenGL。
您可以在以下链接找到该项目:
https://github.com/esilverberg/ios-image-filters
**更新**
您也应该考虑这个项目: https://github.com/gobackspaces/DLCImagePickerController
UIImage
转换。 它提供了以下功能:
其他C++开源库包括:
编辑还要看一下这个开源代码 - https://github.com/OmidH/Filtrr
我认为你也可以从免费的图像处理库中移植大部分C代码,并使用基于像素的修改。
http://developer.apple.com/library/ios/#samplecode/GLImageProcessing/Introduction/Intro.html