AS3 PNG 编码器?

发布于 2024-10-03 06:07:37 字数 117 浏览 1 评论 0原文

有没有办法将位图数据编码为 PNG 以便与 AS3 中的 FileReference.Save() 方法一起使用?我想我需要一个编码器库。

在哪里可以获得将 BitpmapData 编码为 PNG 的库?

Is there a way to encode bitmap data into PNG for use with a FileReference.Save() method in AS3? I assume I need an encoder library.

Where can I get a library that encode BitpmapData into PNG?

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

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

发布评论

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

评论(3

神经大条 2024-10-10 06:07:37

无耻的插头!

我刚刚编写了一个新的 PNG 编码器,名为 PNGEncoder2。它的速度非常快,提供三种压缩级别,支持巨大的图像,并提供真正的异步编码(在压缩步骤结束时没有暂停)。

更多详细信息,包括使用示例和完整功能列表,可以在 GitHub 上的自述文件中找到。我还写了一篇关于它的博客文章,其中包括 基准 将其与其他编码器(包括 Adob​​e 和 Blooddy 的)进行比较。

Shameless plug!

I just wrote a new PNG encoder called PNGEncoder2. It's extremely fast, offers three compression levels, supports huge images, and offers true asynchronous encoding (no pause at the end during the compression step).

More details, including usage examples and the full feature list, can be found in the README on GitHub. I also wrote a blog post about it, which includes a benchmark comparing it to other encoders (including Adobe's and blooddy's).

歌入人心 2024-10-10 06:07:37

您正在寻找: https://github.com/mikechambers/as3corelib

可能还有其他解决方案,但这已被广泛使用并经过充分测试。我自己已经使用过多次,没有出现任何问题。

You're looking for: https://github.com/mikechambers/as3corelib

There are probably other solutions, but this is widely used and well tested. I've used it myself on several occasions without issue.

最后的乘客 2024-10-10 06:07:37

我一直在使用 Blooddy_crypto.swc,您可以在这里阅读和下载:http://va.lent.in/blog/2010/06/23/100x-times-faster-md5-and-more/ - 我发现它大约。比 adobe PNGEncoder 快 3 倍。

I've been using blooddy_crypto.swc which you can read about and download here: http://va.lent.in/blog/2010/06/23/100x-times-faster-md5-and-more/ - I found it approx. 3 times faster than the adobe PNGEncoder.

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