Package | com.adobe.images |
Class | public class PNGEncoder |
Inheritance | PNGEncoder ![]() |
Method | Defined By | ||
---|---|---|---|
encode(img:BitmapData):ByteArray [static]
Created a PNG image from the specified BitmapData
| PNGEncoder |
encode | () | method |
public static function encode(img:BitmapData):ByteArray
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 9.0 |
Created a PNG image from the specified BitmapData
Parameters
img:BitmapData — The BitmapData that will be converted into the PNG format.
|
ByteArray — a ByteArray representing the PNG encoded image data.
|