<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python API - Getting image EXIF data in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-Getting-image-EXIF-data/m-p/426383#M22756</link>
    <description>&lt;P&gt;I'm glad to hear you got that working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see you opened &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-Find-out-who-uploaded-file-to-shared-folder/m-p/426362#M22755" target="_self"&gt;a new thread&lt;/A&gt; for your other question so I'll follow up with you there.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jun 2020 17:05:45 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-06-03T17:05:45Z</dc:date>
    <item>
      <title>Python API - Getting image EXIF data</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-Getting-image-EXIF-data/m-p/425767#M22739</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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&lt;/P&gt;
&lt;PRE&gt;files_download_to_file&lt;/PRE&gt;
&lt;P&gt;command and using python to get the EXIF data out later, but I'd rather use the&lt;/P&gt;
&lt;PRE&gt;files_download&lt;/PRE&gt;
&lt;P&gt;command. Any help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 17:36:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-Getting-image-EXIF-data/m-p/425767#M22739</guid>
      <dc:creator>Jackaroo</dc:creator>
      <dc:date>2020-06-01T17:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Python API - Getting image EXIF data</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-Getting-image-EXIF-data/m-p/425845#M22741</link>
      <description>&lt;P&gt;Can you elaborate on what part you're currently stuck on? Both&amp;nbsp;files_download and&amp;nbsp;files_download_to_file will give you the file data, with&amp;nbsp;the difference being how the data is returned. For&amp;nbsp;files_download, the data is returned in memory, in the object in the second return value. For&amp;nbsp;files_download_to_file, it's saved to disk at the&amp;nbsp;download_path location you specify.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, to use&amp;nbsp;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 &lt;A href="https://github.com/dropbox/dropbox-sdk-python/blob/c53a27e34c82a046853a1e94907c539f05cf5b94/example/updown.py#L157" target="_self"&gt;an example of using&amp;nbsp;files_download here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 20:16:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-Getting-image-EXIF-data/m-p/425845#M22741</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-06-01T20:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Python API - Getting image EXIF data</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-Getting-image-EXIF-data/m-p/426235#M22752</link>
      <description>&lt;P&gt;Hi Greg, thanks for your response &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@AEF569BFDD1DD3EB9180949D237CD92A/images/emoticons/1f600.png" alt=":grinning:" title=":grinning:" /&gt; I think I've found the answer! So When I opened the file initially I didn't specify the 'b' parameter... It now seems to be writing all of the EXIF data to the file. Thank you for your help, I wasn't sure if the EXIF data was contained in the files_download.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have another issue now though. I'm downloading these files from a shared folder, and I'd like to try and keep track of who uploads what. Is there an easy way of doing this? I've looked through the documentation but couldn't see anything obvious. Would it be better to open a separate thread for this?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 08:33:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-Getting-image-EXIF-data/m-p/426235#M22752</guid>
      <dc:creator>Jackaroo</dc:creator>
      <dc:date>2020-06-03T08:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Python API - Getting image EXIF data</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-Getting-image-EXIF-data/m-p/426383#M22756</link>
      <description>&lt;P&gt;I'm glad to hear you got that working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see you opened &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-Find-out-who-uploaded-file-to-shared-folder/m-p/426362#M22755" target="_self"&gt;a new thread&lt;/A&gt; for your other question so I'll follow up with you there.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 17:05:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-Getting-image-EXIF-data/m-p/426383#M22756</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-06-03T17:05:45Z</dc:date>
    </item>
  </channel>
</rss>

