ImageSnapshot-Flex3自带截图功能

mx.graphics.ImageSnapshot是Flex3自带的截图组件,默认保存图片格式为PNG,支持格式为PNG和JPG.
使用方法:
ImageSnapshot.captureBitmapData(v);得到v的BitmapData
ImageSnapshot.encodeImageAsBase64(ImageSnapshot.captureImage(v));得到v的Base64 String

Share

0 条评论

留下评论