create account

RE: Extracting EXIF (Meta)Data From Images With Python by dhimmel

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @juliank/re-dhimmel-re-steempytutorials-extracting-exif-meta-data-from-images-with-python-20180710t155659964z

· @dhimmel ·
$1.38
Hmm. I feel like it should be possible to extract EXIF metadata from an image URL. The `exifread.process_file` [source code](https://github.com/ianare/exif-py/blob/fd12746a9b000b192ebbbc056f0179cec0d51c7f/exifread/__init__.py#L19) seems to expect a bytestream file-like object. If you're using `requests`, did you try wrapping `response.content` in `io.BytesIO` before passing it to `exifread.process_file`?
👍  ,
properties (23)
authordhimmel
permlinkre-juliank-re-dhimmel-re-steempytutorials-extracting-exif-meta-data-from-images-with-python-20180710t160808162z
categoryutopian-io
json_metadata{"community":"busy","app":"busy/2.5.1","format":"markdown","tags":["utopian-io"],"users":[],"links":["https://github.com/ianare/exif-py/blob/fd12746a9b000b192ebbbc056f0179cec0d51c7f/exifread/__init__.py#L19"],"image":[]}
created2018-07-10 16:08:06
last_update2018-07-10 16:08:06
depth3
children1
last_payout2018-07-17 16:08:06
cashout_time1969-12-31 23:59:59
total_payout_value1.373 HBD
curator_payout_value0.009 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length407
author_reputation39,788,295,023,882
root_title"Extracting EXIF (Meta)Data From Images With Python"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,179,631
net_rshares692,317,423,956
author_curate_reward""
vote details (2)
@juliank ·
I did not, will look into at a later time. Thanks for the tip
👍  
properties (23)
authorjuliank
permlinkre-dhimmel-re-juliank-re-dhimmel-re-steempytutorials-extracting-exif-meta-data-from-images-with-python-20180710t161240102z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-07-10 16:12:39
last_update2018-07-10 16:12:39
depth4
children0
last_payout2018-07-17 16:12:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length61
author_reputation117,823,071,447,502
root_title"Extracting EXIF (Meta)Data From Images With Python"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,180,143
net_rshares8,247,521,162
author_curate_reward""
vote details (1)