Package | sekati.formats |
Class | public class PNGEncoder |
Bitmap
to valid PNG file format.
var pngData : ByteArray = PNGEncoder.encode( bitmapDataObj );
See also
Method | Defined by | ||
---|---|---|---|
PNGEncoder Static Constructor
| PNGEncoder | ||
encode(img:BitmapData):ByteArray
[static]
Created a PNG image from the specified
BitmapData
| PNGEncoder |
PNGEncoder | () | constructor |
public function PNGEncoder()
PNGEncoder Static Constructor
encode | () | method |
public static function encode(img:BitmapData):ByteArray
Created a PNG image from the specified BitmapData
img:BitmapData — the BitmapData that will be converted into the PNG format.
|
ByteArray — ByteArray representing the PNG encoded image data.
|