actionscript 3 - How do I add exif data to an image in AS3? -


how add exif data jpg or png in as3?

    var x:jpegencoderoptions = new jpegencoderoptions();     var jpegencoder:jpegencoder = new jpegencoder(100);     var bitmapdata:bitmapdata = new bitmapdata(100,100,true,0x00000000);     bitmapdata.drawwithquality(this);     var ba:bytearray = jpegencoder.encode(bitmapdata);     var file:filereference = new filereference();     file.save(ba, "screenshot.jpeg"); 

more info
in app letting user take screen shot using pngencoder , jpegencoder class. they've asked able save author creation date , time in exif. i'm able create bytearray , save file don't know how add exif data it.


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -