Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Jackaroo's avatar
Jackaroo
Explorer | Level 3
6 years ago
Solved

Python API - Getting image EXIF data

Hi,   I've been trying to get the EXIF data from images, mainly I'm after the image orientation. I can do it by using the files_download_to_file command and using python to get the EXIF data ...
  • Greg-DB's avatar
    6 years ago

    Can you elaborate on what part you're currently stuck on? Both files_download and files_download_to_file will give you the file data, with the difference being how the data is returned. For files_download, the data is returned in memory, in the object in the second return value. For files_download_to_file, it's saved to disk at the download_path location you specify.

     

    So, to use files_download for this, you'd need to take the returned file data in memory and then pass it to whatever code you're using to extract the EXIF data. There's an example of using files_download here.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!