ASImageLib is an OOP lib to decode PNG and BMP in AS3
var bytes:ByteArray = new _pngClass();
var bmpData:BitmapData = new PNGDecoder().decode(bytes);
this.addChild(new Bitmap(bmpData));
- 1.Gray Scale
- 2.Gray Scale Alpha width bitDepth 8 or 16
- 3.Palette width bitDepth 1,2,3,4 or 8
- 4.RGB alpha