Bug #593
The default type of Array element tags is incorrect
Start date:
19 Dec 2008
Due date:
% Done:
100%
Estimated time:
8.00 h
Description
It defaults to Ascii
, which doesn't work when writing to an image:
ahuggel@mowgli> ./exiv2 -v -M'set Exif.CanonCs.0x002b 255' exiv2-empty.jpg File 1/1: exiv2-empty.jpg Set Exif.CanonCs.0x002b "255" (Ascii) Exiv2 exception in modify action for file exiv2-empty.jpg: TIFF array element tag 43 has wrong type
See http://uk.groups.yahoo.com/group/exiv2/message/1472 for a discussion in a larger context.
PS: The error message could be more useful too...
Additional Information¶
ExifTags::tagType
uses the global unknownTag
to derive the type of an unknown tag.
Instead, that information should be taken from an group-specific unknown tag, eg, the end-of-list marker of each taglist.
History
Updated by Andreas Huggel about 11 years ago
- Status changed from New to Resolved
- Assignee set to Andreas Huggel
- Target version set to 0.21
- % Done changed from 0 to 100
Fixed with r2334