Package | com.yworks.util |
Class | public class PNGEncoder |
Inheritance | PNGEncoder Object |
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
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.
|