Bug 132806

Summary: Inconsistency in writing IPTC data
Product: [Applications] digikam Reporter: Heiner Lamprecht <heiner>
Component: Metadata-IptcAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 7.1.0
Sentry Crash Report:

Description Heiner Lamprecht 2006-08-22 15:05:54 UTC
Version:           0.9.0-svn / 2006-08-22 (using KDE KDE 3.5.4)
Installed from:    SuSE RPMs
Compiler:          gcc version 4.0.2 64bit
OS:                Linux

I noticed some inconsitencies about the IPTC data added to images when they are changed:

Assinging a tag or rating through the "Comments / Tags" tab results in the following list of IPTC records:

------------------------------------------------------------
Complete list:
File name: 2006-08-11__08-42-22_0016.JPG (IPTC Records)

>>> IIM Application 2 <<<

Byline : Heiner Lamprecht
BylineTitle : 
Caption : (c) Heiner Lamprecht
Copyright : (c) Heiner Lamprecht. All rights reserved.
Credit : Heiner Lamprecht
DateCreated : 2006-08-11
Keywords : Leute/Familie/Simon
Program : digiKam
ProgramVersion : 0.9.0-beta1
Source : http://www.heiner-lamprecht.net/
TimeCreated : 08:42:22+00:00
Urgency : 8
------------------------------------------------------------

Assining a tag via d&d vfrom the tag filter tab:  No IPTC record is written at all.

Assinging a rating or tag throught the context menu results in the following list:
------------------------------------------------------------
File name: 2006-08-11__08-48-11_0020.JPG (IPTC Records)

>>> IIM Application 2 <<<

Program : digiKam
ProgramVersion : 0.9.0-beta1
Urgency : 5
------------------------------------------------------------

(Or keywords instead of urgency)


BTW:  Why is copyright information saved as caption (see first example)?
Comment 1 caulier.gilles 2006-08-22 15:15:15 UTC
1/ IPTC caption == digiKam comments
2/ IPTC Urgency is typically the right way to rate an image. This way is used by others image management software (like Mapivi for example : http://mapivi.sourceforge.net/features.shtml)
3/ IPTC keywords are used to store digiKam tags (please take a care of ASCII limitation of IPTC).
4/ Assign a tag by drag & drop do not change IPTC metadata : it a bug (:=))

Gilles Caulier
Comment 2 Heiner Lamprecht 2006-08-22 15:27:34 UTC
ad1:  Okay, your're right.  I forgot, that the camera writes the text as the comment.

ad2: Okay, too.  But why is the urgency set to 8 when only assining a tag?  And why are the other records not written, when assining a rating or tag through the context menu?

    Heiner
Comment 3 caulier.gilles 2006-08-22 15:48:06 UTC
ad2 : because of IPTC spec : http://www.iptc.org/std/IIM/4.1/specification/IIMV4.1.pdf

Look page 27. No rating = 8 in your case.

Gilles
Comment 4 Marcel Wiesweg 2006-08-23 17:09:41 UTC
Take a loop at #127583, comment 5. Is this the same problem/inconsistency?
Comment 5 Heiner Lamprecht 2006-08-23 18:48:35 UTC
Looks pretty much like the same problem.
Comment 6 caulier.gilles 2006-08-24 07:36:40 UTC
ok I mark this file like dupplicate of #127583

Gilles

*** This bug has been marked as a duplicate of 127583 ***
Comment 7 caulier.gilles 2020-08-31 03:38:06 UTC
Fixed with #127583