EXIF data read

Hi!

Im trying to read the EXIF data from a image file and was wondering if anyone had done this and could maybe point me in the right direction? I am trying to read the tag that show the orientation of the image in spesific. I found information about the tag numbers and what values to look for at the exif.org site. But what I have no idea of doing is how to find that number or even read the image file in a way that this can be done :slight_smile:

Any help would be greatful! Thanks! [import]uid: 17969 topic_id: 25694 reply_id: 325694[/import]

I believe it can be done, but it’s going to take a little bit of work and some love of learning how to read files. There are no API calls for this.

You will have to open the file, seek to the start of the exif data, read in the exif data, parse it, find your tag and then make sense of the value.

Not a one our project, but it’s probably do-able.

Being a photographer, I could take a stab at building a library to do it. But I’ve got so may other projects I need to get done, I can’t be distracted by this right now.
[import]uid: 19626 topic_id: 25694 reply_id: 103874[/import]

Thanks, I was afraid it would be a bit of a project. But as I see it now its the only way to get around the problem with getting high res files from camera/album since at the moment corona dosent register the rotation of the image.

I did find someone who wrote something for changing the exif tag for writing your own keyword in… maybe I can learn somthing from that. http://chdk.setepontos.com/index.php?topic=4533.15

If anyone else has any tips feel free to post them :slight_smile: [import]uid: 17969 topic_id: 25694 reply_id: 103883[/import]