Questions tagged [pyexiv2]

Read/Write metadata(including EXIF, IPTC, XMP), comment and ICC Profile embedded in digital images.

https://github.com/LeoHsiao1/pyexiv2

38 questions
0
votes
1 answer

Can't install pyexiv2 in conda env on macbook

I want to install pyexiv2 in a conda environment on a macbook. I tried a conda install of pyexiv2 and of python-pyexiv2 (as it was called when I successfully installed it on ubuntu). pyexiv2: (py27) IEC02R5A6DG8WP:pythonScripts mdev0002$ conda…
amadain
  • 2,724
  • 4
  • 37
  • 58
0
votes
1 answer

How to extract exif data into a csv file?

import pyexiv2 import os print "Enter the full path to the directory that your images are conatined in." print "-------------------------------------------" newFileObj = open('C:\\users\\wilson\\desktop\\Metadata.csv', 'w') targ_dir =…
0
votes
1 answer

Pyexiv2 and PIL file blocking

I'm writing a script to save metadata to jpg images and resize them for Wordpress. It's been going well, working with jpegs and pngs until I try and use it on an image directly after resizing a jpg (but not a png) with PIL.Image.thumbnail() I've…
Derwent
  • 606
  • 1
  • 5
  • 13
0
votes
1 answer

Bulk change date to present date with ExifTool

I have a bunch of images with different create dates. I want to normalize them all to a given date (say today's date) using a batch file (Windows). Can ExifTool set dates? I only see documentation and examples for shifting dates. To shift the date…
abalter
  • 9,663
  • 17
  • 90
  • 145
0
votes
1 answer

pyexiv2 - Empty XMP and ITPC Tags?

I'm trying to manipulate an image's exif, XMP and ITPC tags with Python 2.7 and pyexiv2 in Windows 7. I can get a list of exif tags, but for some reason the XMP and ITPC lists are coming back empty, even though those tags exist in my test image (at…
Crazy Otto
  • 125
  • 2
  • 13
0
votes
1 answer

Writing modified subject data to XMP file fails (using pyexiv2)

My photo editor screwed up the tags for many of my photos. I took this as the final push to start getting familiar with Python and write a script to clean the tags. I found out that pyexiv2 might come in quite handy and I tried to basically follow…
0
votes
1 answer

Homebrew - pyexif2 - clang: error: linker command failed with exit code 1

I installed homebrew and brew doctor complained that my path /user/local/bin wasn't above /usr/bin, so I corrected this and then tried to install exiv2 and pyexiv2 using the following command: brew install exiv2 pyexiv2 I then get the following…
BubbleMonster
  • 1,366
  • 8
  • 32
  • 48
0
votes
1 answer

Trying to run pyexiv2

I'm trying to run a simple code to test that I have installed correctly pyexiv2 in my computer. I'm using python 2.6.6. on windows 7 64 bit So I run this simple code: import pyexiv2 print pyexiv2.exiv2_version_info and I get this error: Traceback…
edsonlp1
  • 453
  • 2
  • 9
  • 22
1 2
3