Open m1ga opened 4 months ago
Two new features:
exif
event.media.exif
imageAsCompressed
var win = Ti.UI.createWindow(); win.addEventListener("click", function() { Ti.Media.showCamera({ success: function(event) { console.log(event.media.exif) var f = Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory + "/image.jpg"); f.write(event.media); var f1 = Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory + "/image1.jpg"); f1.write(event.media.imageAsCompressed(0.9)); } }); }) win.open();
Test 12.3.1:
With this PR:
TODO
imageAs...
Two new features:
exif
data inevent.media.exif
from the camera media fileimageAsCompressed
and write that blob dataTest 12.3.1:
With this PR:
TODO
imageAs...
methods