[Bug 309254] New: Contact informations from template aren't written to xmp-tags of jpg-files

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 309254] New: Contact informations from template aren't written to xmp-tags of jpg-files

Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=309254

            Bug ID: 309254
          Severity: normal
           Version: 2.8.0
          Priority: NOR
          Assignee: [hidden email]
           Summary: Contact informations from template aren't written to
                    xmp-tags of jpg-files
    Classification: Unclassified
                OS: Linux
          Reporter: [hidden email]
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: Metadata
           Product: digikam

I usally write all metadata including the contact information coming with the
copyright information from a template into the jpg's. This worked fine until
version 2.5.0 (running under KDE 4.9.2 on Kubuntu 1204). With the upgrade to
Kubuntu 1210 digikam was updaded to version 2.8 and all of a sudden not all
copyright information is being written into the images files anymore. Namely
the contact infomation is missing.  I'm neither able to locate it going through
the menu "Image/Metadata/Edit all Metadata " nor using gwenview. The respective
fields are greyed out.

I think, but am not sure, the problem started with digikam version 2.6 which I
had installed under Kubuntu 1204 from unsupported repositories. Since I assumed
this was due to inconsictancies in the repositories I downgraded again to wait
for a supported version. But the problem still exists after the upgrade to
Kubuntu 1210 and digikam 2.8 (all installed from supported repos).

That is why I downgraded on Kubuntu 1210 digikam to version 2.5.0 too and
everything works as it used to work.

Reproducible: Always

Steps to Reproduce:
1. create a template mit contact information like emai-address, phone number,
etc.
2. append these to the medatada of an image
3. write all metadat into the image files
4. view them using gwenview, gimp or going through the digikam menus.
Actual Results:  
Contact information is missing in xmp-tags after writing copyright information
from the template into the image files (at least in versions 2.6 to 2.8).

Expected Results:  
Contact information should be wirtten into xmp-tags as it was in versions 2.5.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 309254] Contact informations from template aren't written to xmp-tags of jpg-files

Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=309254

--- Comment #1 from Knut Hildebrandt <[hidden email]> ---
Just compiled digikam-3.0.0-beta3 and still have the same issue.

Examining files processed with digikam 2.5.0 in gimp 2.8 I found out, that the
missing XMP-Tags (at least digikam and gwenview call them like this) were
written to the IPTC-Core section and are called CiAdrCity, CiAdrCtry; etc. Do I
save metadata with later versions of digikam these tags do not appear anymore.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 309254] Contact informations from template aren't written to xmp-tags of jpg-files

Knut Hildebrandt
In reply to this post by Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=309254

Knut Hildebrandt <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.8.0                       |3.0.0

--- Comment #2 from Knut Hildebrandt <[hidden email]> ---
Just compiled digikam-3.0.0-beta3 and still have the same issue.

Examining files processed with digikam 2.5.0 in gimp 2.8 I found out, that the
missing XMP-Tags (at least digikam and gwenview call them like this) were
written to the IPTC-Core section and are called CiAdrCity, CiAdrCtry; etc. Do I
save metadata with later versions of digikam these tags do not appear anymore.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 309254] Contact informations from template aren't written to xmp-tags of jpg-files

Marcel Wiesweg
In reply to this post by Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=309254

--- Comment #3 from Marcel Wiesweg <[hidden email]> ---
Writing the contact info (which is an XMP structure) has been fixed during the
time you indicate. A short test shows that it is properly written to XMP and is
visible from digikam's metadata view as well.

Exiv2 output (three values filled):

Xmp.iptc.CreatorContactInfo                  XmpText     0  type="Struct"
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrCity XmpText     5  Essen
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrCtry XmpText     0  
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrExtadr XmpText     8  SStr. 44
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrPcode XmpText     5  45xxx
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrRegion XmpText     0  
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiEmailWork XmpText     0  
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiTelWork XmpText     0  
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiUrlWork XmpText     0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 309254] Contact informations from template aren't written to xmp-tags of jpg-files

Marcel Wiesweg
In reply to this post by Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=309254

Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 309254] Contact informations from template aren't written to xmp-tags of jpg-files

Gilles Caulier-4
In reply to this post by Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=309254

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
   Version Fixed In|                            |3.0.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 309254] Contact informations from template aren't written to xmp-tags of jpg-files

Knut Hildebrandt
In reply to this post by Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=309254

Knut Hildebrandt <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WORKSFORME                  |---

--- Comment #4 from Knut Hildebrandt <[hidden email]> ---
(In reply to comment #3)

Just downloaded the latest source code via git and compiled it. From my point
of view the bug still exists. Neither Gimp 2.8 nor gwenview 2.8.4 nor digikams
built-in metadata editor show the Tags.

Checked them with exiv2 and they are there, as you already have stated. But the
ones written with digikam3.0.0 look different than the ones written with
digikam2.5.0.

Exiv2 output digikam3.0.0 (five values filled):
Xmp.iptc.Location                            XmpText     0  
Xmp.iptc.CreatorContactInfo                  XmpText     0  type="Struct"
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrCity XmpText     6  Berlin
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrCtry XmpText    11  Deutschland
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrExtadr XmpText     1  
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrPcode XmpText     1  
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrRegion XmpText     0  
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiEmailWork XmpText    24  mail@
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiTelWork XmpText    15  +49-
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiUrlWork XmpText    30  http://www.


Exiv2 output digikam2.5.0 (five values filled):
Xmp.iptc.CountryCode                         XmpText     0  
Xmp.iptc.Location                            XmpText     0  
Xmp.iptc.CiAdrCity                           XmpText     6  Berlin
Xmp.iptc.CiAdrCtry                           XmpText    11  Deutschland
Xmp.iptc.CiAdrExtadr                         XmpText     1  
Xmp.iptc.CiAdrPcode                          XmpText     1  
Xmp.iptc.CiAdrRegion                         XmpText     0  
Xmp.iptc.CiEmailWork                         XmpText    24  mail@
Xmp.iptc.CiTelWork                           XmpText    15  +49-
Xmp.iptc.CiUrlWork                           XmpText    30  http://www.

For me the question is, are the three programs I use to visualize the tag buggy
or lies the bug in the new way they are written into the files?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 309254] Contact informations from template aren't written to xmp-tags of jpg-files

Knut Hildebrandt
In reply to this post by Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=309254

--- Comment #5 from Knut Hildebrandt <[hidden email]> ---
Did some more investigations into the matter using Gimp 2.8 which I started
from command line.

Opening a file coming fresh from the camera Gimp reports following error, which
seems to be understandable, since no XMP-data have been written to the file
yet.

While parsing XMP metadata:
Error: No XMP packet found

Opening a file I processed with digicam3.0.0 before Gimp reports the following
error:

While parsing XMP metadata:
Error on line 135 char 1: End of element <exif:Flash> not expected in this
context
Metadata parasite seems to be corrupt

Viewing the metadata of the processed file in Gimp throws following error:

While parsing XMP metadata:
Error on line 179 char 1: End of element <Iptc4xmpCore:CreatorContactInfo> not
expected in this context
Metadata parasite seems to be corrupt

Hope this information may give you a clue what goes wrong.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 309254] Contact informations from template aren't written to xmp-tags of jpg-files

Marcel Wiesweg
In reply to this post by Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=309254

--- Comment #6 from Marcel Wiesweg <[hidden email]> ---
As I already said, the writing of the contact info was _fixed_ which means it
was incorrect in 2.5, and is correct now.
It may be that the metadata edit kipi plugin has not been properly fixed.

The most valid reference should be an image edited with an Adobe product, which
I dont have available. One sample XMP packet I found on the web shows this XML:

<Iptc4xmpCore:CreatorContactInfo Iptc4xmpCore:CiAdrExtadr="xxx East xxth St xx"
Iptc4xmpCore:CiAdrCity="New York" Iptc4xmpCore:CiAdrRegion="NY"
Iptc4xmpCore:CiAdrPcode="10000" Iptc4xmpCore:CiAdrCtry="USA"
Iptc4xmpCore:CiTelWork="xxx.xxx.xxx"
Iptc4xmpCore:CiEmailWork="[hidden email]"
Iptc4xmpCore:CiUrlWork="www.nowhere.com"/>

Digikam/exiv2 writes:

<Iptc4xmpCore:CreatorContactInfo
    Iptc4xmpCore:CiAdrCity="Essen"
    Iptc4xmpCore:CiAdrCtry=""
    Iptc4xmpCore:CiAdrExtadr="SStr. 44"
    Iptc4xmpCore:CiAdrPcode="45xxx"
    Iptc4xmpCore:CiAdrRegion=""
    Iptc4xmpCore:CiEmailWork=""
    Iptc4xmpCore:CiTelWork=""
    Iptc4xmpCore:CiUrlWork=""/>

which seems correct.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 309254] Contact informations from template aren't written to xmp-tags of jpg-files

Knut Hildebrandt
In reply to this post by Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=309254

--- Comment #7 from Knut Hildebrandt <[hidden email]> ---
(In reply to comment #6)
> As I already said, the writing of the contact info was _fixed_ which means
> it was incorrect in 2.5, and is correct now.
> It may be that the metadata edit kipi plugin has not been properly fixed.

Well you are right, the contact info is visible in digikams metadata viewer
both in 2.5 and 3.0, even though it looks slightly different depending on if it
was written with digikam 2.5 or digikam 3.0. To be honest, I don't know wich
way is correct and thus accept what you say. Nevertheless I'll file a bug
against the kipi plugin, that this may be fixed there too.

Thanks for your effort.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 309254] Contact informations from template aren't written to XMP tags of JPG

Gilles Caulier-4
In reply to this post by Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=309254

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Contact informations from   |Contact informations from
                   |template aren't written to  |template aren't written to
                   |xmp-tags of jpg-files       |XMP tags of JPG

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 309254] TEMPLATE : contact information aren't written to XMP tags of JPG

Gilles Caulier-4
In reply to this post by Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=309254

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Contact informations from   |TEMPLATE : contact
                   |template aren't written to  |information aren't written
                   |XMP tags of JPG             |to XMP tags of JPG

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 309254] TEMPLATE : contact information aren't written to XMP tags of JPG

Gilles Caulier-4
In reply to this post by Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=309254

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Metadata                    |Metadata-Template

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel