Any way to get exif data from images that is stored in the photo gallery? (Location of the image for example).
It's not a titanium framework limitation, it's just not implemented
If you're familar with objective-C you can code your own titanium module as you can see here
, or open a ticket here:
Ok, it has been 2 years huh, still I can't find any straight answers on image EXIF and coming up with proper orientation for pictures taken via camera. It would be a great help if you can share the solution that you have found.
I hacked around with the Titanium.Media module to return location and EXIF data when a photo is selected in the photo gallery. I am planning on putting this on GitHub for all to enjoy. I'll update this thread when it is available.
Here is the link to the myMedia module on GitHub. It provides location and EXIF data on photos returned from
openPhotoGallery(). Let me know how it works out for you!
As far as I know, you can't get this within an app (unless you capture location when/if your app takes the photo).
But you can get EXIF data from various server based libraries (using php for example) once a photo has been uploaded to a server.
EXIF data can give you GPS data, Camera make and model, camera settings (f-stop/exposure etc.), orientation. It all depends on the camera which took the photo.
Yeah, i'm aware of doing it over the backend which i'm trying to avoid the round trip.
Any insight to whether is this Titanium or IPhone framework limitations?
If you move the image from the HTC over to the S3 do you still get the same issue? That is to say, I'm wondering if this is a device issue or an image issue. Can you send me a sample image to test with?