PNGEncoder â PNGEncoderã¯staticã : var bmd:BitmapData = new Bitmap(100,100); : var byteArr:ByteArray = PNGEncoder.encode(bmd); â JPGEncoder â JPGEncoderã¯newãã³ã³ã¹ãã©ã¯ã¿å¼æ°ã¯å§ç¸®çã : var bmd:BitmapData = new Bitmap(100,100); : var jpge:JPGEncoder = new JPGEncoder(80); var byteArr:ByteArray = jpge.encode(bmd); â Flex3ã«è¿½å ãããpng/jpegã¨ã³ã³ã¼ãã¼ â PNGEncoderã¨JPEGEncoderã¨åãï¼ãããªï¼ã¯ã©ã¹ãFlex3ã§ããã£ã¨è¿½å ããã¦ã¾ãã mx.graphics.code
{{#tags}}- {{label}}
{{/tags}}