SAMCoreImageView

https://github.com/soffes/SAMCoreImageView

Render a CIImage in an OpenGL thingy so it's real fast and junk. You won't see any speed up on the simulator, but on the device it's nuts fast.

This is was inspired by TLDFastCoreImageView by Patrick Gibson. Thanks Patrick!

使用OpenGL渲染CIImage,速度太快,就好像用大炮打蚊子般浪费。在模拟器上跑你看不到这种优化的效果,但如果在真机上跑,妈的,实在是太快了。

灵感来自于TLDFastCoreImageView by Patrick Gibson,感谢Patrick这个基佬。

Usage

SAMCoreImageView *imageView = [[SAMCoreImageView alloc] init];
imageView.image = [someFilter outputImage];

SAMCoreImageView's contentMode behaves just like UIImageView's so go nuts. Internally, it usesSAMContentMode to do its magic.

SAMCoreImageView的contentMode与UIImageView中的contentMode类似哦。说实话,他是用的SAMContMode来实现这个效果的。

Limitations

The only thing SAMCoreImageView doesn't do well is resizing. If you need to resize the view, I recommend destroying it and making a new one for now. I started working on a fix for this, but couldn't get it to work right just yet.

SAMCoreImageView唯一做的不好的地方就是重新设置尺寸。如果你需要重新设置view的尺寸,我建议你销毁它,然后在初始化个新的。如今我在修复这个问题,但还没找到解决方案......

最新文章

  1. Microsoft Dynamics CRM 2013 的相关更新 2013-12
  2. ajax response status list [转载]
  3. 【记录】ASP.NET IIS ISAPI_Rewrite
  4. Javascript垃圾回收机制(学习笔记)
  5. wifi 4次握手
  6. Linux之find命令用于统计信息
  7. .NET 反射的使用
  8. ubuntu 安装 Tomcat
  9. Ext的Panel总结(好文章)
  10. R语言编程艺术# 数据类型向量(vector)
  11. php和js根据子网掩码和ip计算子网
  12. Eric的第一天
  13. linux7.2系统中安装Nmon并使用
  14. Spring-MVC理解之一:应用上下文webApplicationContext
  15. 【JSOI2008】最大数
  16. win10 anaconda+tensorflow+keras
  17. 2018-12-16 VS Code英汉词典进化效果演示: 翻译文件所有命名
  18. Elasticsearch安装部署(CentOS)
  19. python中super的使用方法
  20. PCIe Max_Payload_Size 和 Max_Read_Request_Size

热门文章

  1. LDA理解
  2. 开发小技巧1——Logger
  3. jqGrid随窗口大小变化自适应大小-转
  4. 【LeetCode题解】231_2的幂(Power-of-Two)
  5. Android自动化压力测试图解教程——Monkey工具 (转)
  6. I/O模式总结
  7. api.execScript
  8. EventProxy流程控制
  9. Java Tools &Tools APIs
  10. Redis 学习资料目录(Important)