class flixel.addons.util.PNGEncoder

Available on all platforms

Class that converts BitmapData into a valid PNG

Class Fields

static function encode(img:BitmapData):ByteArray

Created a PNG image from the specified BitmapData * * @langversion ActionScript 3.0 * @playerversion Flash 9.0 * @tiptext

image

The BitmapData that will be converted into the PNG format. *

returns

a ByteArray representing the PNG encoded image data. *