Skip to content
terrynoya edited this page Jan 30, 2013 · 1 revision

ASImageLib: PNG BMP file decoder in ActionScript3

ASImageLib is an OOP lib to decode PNG and BMP in AS3

How To Use


Decode PNG byteArray

var bytes:ByteArray = new _pngClass();
var bmpData:BitmapData = new PNGDecoder().decode(bytes);
this.addChild(new Bitmap(bmpData));