Class that converts BitmapData into a valid PNG

Static methods

staticencode(img:BitmapData):ByteArray

Created a PNG image from the specified BitmapData

@langversion ActionScript 3.0 @playerversion Flash 9.0 @tiptext

Parameters:

image

The BitmapData that will be converted into the PNG format.

Returns:

a ByteArray representing the PNG encoded image data.