README.md

January 30, 2013 ยท View on GitHub

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));

PNG Colortype supported detail

  • 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

Contents

  1. 0.1ASImageLib: PNG BMP file decoder in ActionScript3
  2. 0.2How To Use
  3. 0.3Decode PNG byteArray
  4. 0.4PNG Colortype supported detail