Search code examples
flashvectorbitmappngencode

Flash PNGEncoder using Vectors


There is great lib to convert BitmapData to JPEG using flash Vector instead of Array:

Glitchmap

It is asynchronous, that's great as well.

Does anybody know similar solution for PNG encoding? Using Vectors.


Solution

  • From this article http://moodycamel.com/blog/2011/a-better-png-encoder-for-flash

    I found VERY fast asynchronous PNG encoder, compiled from Haxe:

    https://github.com/cameron314/PNGEncoder2/

    It helped me a lot.