AS3:类似 Instagram 的图像(位图)过滤器?
我想知道是否有一些库(或者教程?)可以为 AS3 中的 Bitmap/BitmapData 对象生成类似 Instagram 的颜色调整。
ColorMatrix/ColorMatrixFilter 大概能不能达到这样的效果还是可以?
I'm wondering if there is some library (or maybe tutorial?) which can produce Instagram-like color tweaks for Bitmap/BitmapData objects in AS3.
ColorMatrix/ColorMatrixFilter will not be probably able to achieve such as results or yes?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
是的,Eugene Zatepyakin 确实已经准备好了一个很棒的库,在这里获取它https://github.com/inspirit/GPUImage
另请检查Adobe Pixel Bender Exchange,有很多滤镜,你也许能在那里找到一些东西
Yes indeed there is a great library ready made by Eugene Zatepyakin get it here https://github.com/inspirit/GPUImage
Also check Adobe Pixel Bender Exchange, there are lots of filters, you might be able find something there
你应该看看 Pixel Bender,它会比 AS3 更容易创建照片滤镜。您仍然可以使用 Shader 将这些滤镜与 Flash 一起使用。网上有一些基本过滤器的教程。当您熟练掌握 PB 语法后,您将能够创建几乎任何您能想象到的过滤器。
例如,我使用 Pixel Bender 来执行此操作:http://bit.ly/pgaOU3
You should give a look at Pixel Bender, it will be much easier to create photo filters than AS3. You can still use these filters with Flash using a Shader. There are some tutorials for basic filters on the Internet. When you're fluent with the PB syntax you will be able to create almost any filter you can imagine.
For example, I used Pixel Bender to do this: http://bit.ly/pgaOU3
着色器确实可以在移动设备上运行,
发布 apk 文件时使用 CPU 渲染而不是 GPU
Shader does work on mobile device,
use CPU render and not GPU when you publish the apk file