Skip to content

Failure to Export Due to Size or Unrecognized Tag #401

@clthomas

Description

@clthomas

Running exiv2 ex -e e on the attached image fails. I'm not sure what the problem is, the output is:

Warning: Exif tag Exif.PentaxDng.0x0406 not encoded
Warning: Exif tag Exif.PentaxDng.0x0406 not encoded
./IMG_1587.exv: Could not write metadata to file: Size of Exif JPEG segment is larger than 65535 bytes

but printing with exiv2 pr -pv does not produce an error and the output is less than 65535 bytes (13333) and I assume it is stored more efficiently in the file. The folks with digiKam thought the PentaxDng tag mentioned in the warning needed to be added to a blacklist. I tried with the ubuntu package 0.25-3.1ubuntu0.18.04.1 and building from the 0.26 branch and master and found the same problem.

If it is just that the size of exif data is larger than 65535 then this may be a duplicate of #396, but it may still be good to blacklist the tag that produces the warning.

img_1587

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions