← Back to team overview

phatch-dev team mailing list archive

[Bug 372646] Re: Exif.Canon* tags are treated like an int while they are a tuple

 

*** This bug is a duplicate of bug 256875 ***
    https://bugs.launchpad.net/bugs/256875

** Also affects: intipunku
   Importance: Undecided
       Status: New

-- 
Exif.Canon* tags are treated like an int while they are a tuple
https://bugs.launchpad.net/bugs/372646
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in IntiPunku photo manager: New
Status in Phatch = Photo & Batch!: Triaged
Status in pyexiv2, a python binding to exiv2: New

Bug description:
doing the following:

image = pyexiv2.open(image_path)
image.readMetadata()
for key in image.exifKeys():
    self._exif[key] = image[key]

[...something that will destroy the metadata...]

for key in self._exif:
     image[key] = self._exif[key]
image.writeMetadata()

fails while trying to write the  'Exif.Canon.0x000d' tag, pyexiv2 will complain that the value of the tag is not a valid int, but it seems that this tag is a list not an int.