Is there any example which helps in generating Base64 based image from Bitmapdata? I know I have to use encode in bitmapdata, but I am not sure how to use it?
It takes (rect : flash.geom.Rectangle, compressor : flash.utils.Object, ?byteArray : flash.utils.ByteArray) : flash.utils.ByteArray;
How to fill compressor incase I want to compress using jpeg?
Also, what's the input of byteArray ? Any help?