Image is a native extension to manipulate image data. Even though the Flash API already has image manipulation methods, the extension uses native code for the image operations, which boosts the application performance significantly.
Some of the features available include the ability to encode a
BitmapData structure into a JPG or PNG, as well as the ability to manipulate and apply filters (soon).
public function encode(bitmapData:BitmapData, encodedData:ByteArray, format:String, quality:Number = 0.8):Boolean; public static function init(developerKey:String):void; public function saveBitmapData(bitmapData:BitmapData, filename:String, format:String, quality:Number = 0.8):Boolean;