AS3:类似 Instagram 的图像(位图)过滤器?

发布于 2024-12-09 08:13:19 字数 276 浏览 1 评论 0原文

我想知道是否有一些库(或者教程?)可以为 AS3 中的 Bitmap/BitmapData 对象生成类似 Instagram 的颜色调整。

ColorMatrix/ColorMatrixFilter 大概能不能达到这样的效果还是可以?

Instragram 滤镜

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?

Instragram filters

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

↘人皮目录ツ 2024-12-16 08:13:19

是的,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

半夏半凉 2024-12-16 08:13:19

你应该看看 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

孤城病女 2024-12-16 08:13:19

着色器确实可以在移动设备上运行,
发布 apk 文件时使用 CPU 渲染而不是 GPU

Shader does work on mobile device,
use CPU render and not GPU when you publish the apk file

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文