[Digikam-devel] [Bug 214636] updating tag to XMP/IPTC bug

Michael Ulbrich mul at rentapacs.de
Wed Dec 23 10:09:33 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=214636





--- Comment #28 from Michael Ulbrich <mul rentapacs de>  2009-12-23 11:09:31 ---
(In reply to comment #25)

> They have a JPEG structure that doesn't make sense - each has two APP1 XMP
> segments and two (broken) APP13 Photoshop segments.

Gilles, Andreas,

the "beforemodif" images from Olivier's attachment "photos enclosed" (38951)
basically have the same metadata structure:

Photo1:

APP1  (XMP)
APP13 (IPTC)
APP13 (IPTC)
APP1  (XMP)

Photo2:

APP1  (XMP)
APP13 (IPTC) -> broken length -> parser get's out of sync
APP13 (IPTC)
APP1  (XMP)

Besides the duplication issue, structure and lengths are otherwise ok.

Probably a look at the individual Tags will provide some insight:

Photo1:
-------

APP1  (XMP)
 Software = digiKam-rc..-rc
 CreatorTool = digiKam-rc..-rc

APP13 (IPTC)
 Originating Program = digiKam
 Program Version = rc..-rc

APP13 (IPTC)
 Originating Program = digiKam
 Program Version = rc..-rc
 Keywords = Lyon

APP1  (XMP)
 Software = digiKam-rc..-rc
 Orientation = 1
 ImageWidth = 1704
 ImageHeight = 2272
 CreatorTool = digiKam-1.0.0-beta6
 ExifImageWidth = 1704
 ExifImageHeight = 2272
 TagsList = Lieu/Rh..ne-Alpes/Lyon
 HierarchicalSubject = Lieu|Rh..ne-Alpes|Lyon
 Subject = Lyon

Photo2:
-------

APP1  (XMP)
 Software = digiKam-rc..-rc
 CreatorTool = digiKam-rc..-rc
 TagsList = Themes/Cuisine
 HierarchicalSubject = Themes|Cuisine
 Subject = Cuisine

APP13 (IPTC)
 OriginatingProgram = digiKam
 ProgramVersion = rc..-rc
 Keywords = Cuisine       -> broken length points after this tag
 Keywords = Lyon
 Keywords = Cuisine

APP13 (IPTC)
 OriginatingProgram = digiKam
 ProgramVersion = rc..-rc
 Keywords = Lyon
 Keywords = Cuisine

APP1  (XMP)
 Software = digiKam-rc..-rc
 CreatorTool = digiKam-1.0.0-beta6
 TagsList = Lieu/Rh..ne-Alpes/Lyon/MaisonLyon
 TagsList = Themes/Cuisine
 HierarchicalSubject = Lieu|Rh..ne-Alpes|Lyon|MaisonLyon
 HierarchicalSubject = Themes|Cuisine
 Subject = MaisonLyon
 Subject = Cuisine

There is a certain correspondence between first XMP and first IPTC. Likewise
for the second pair. So the each pair seem to be written in the same context.
But why at all the duplication? Could it be that metadata of the same image is
opened by individual program modules and saved twice?

Just curious ... Michael Ulbrich

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list