API documentation
class lime.graphics.format.JPEG
static function decodeBytes(bytes:Bytes, ?decodeData:Bool): Image
static function decodeFile(path:String, ?decodeData:Bool): Image
static function encode(image:Image, quality:Int): Bytes