[Bug 273811] New: recreating xmp sidecar file does not store all properties

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

[Bug 273811] New: recreating xmp sidecar file does not store all properties

Bugzilla from rene@brandenburger.lu
https://bugs.kde.org/show_bug.cgi?id=273811

           Summary: recreating xmp sidecar file does not store all
                    properties
           Product: digikam
           Version: 2.0.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Metadata
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           2.0.0 (using KDE 4.5.5)
OS:                Linux

Rewriting an xmp sidecar file using the Picture-> rewrite Metadata (in German
Bild -> Metadaten in das Bild schreiben) only writes part of the available
Metadata to the file.

Reproducible: Always

Steps to Reproduce:
select an image
Assign Coordinates using the Geolocation tool
Check the xmp file:

<?xml version="1.0" encoding="UTF-8"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:exif="http://ns.adobe.com/exif/1.0/"
   exif:GPSVersionID="2.0.0.0"
   exif:GPSMapDatum="WGS-84"
   exif:GPSLatitudeRef="N"
   exif:GPSLatitude="50,47.06539122N"
   exif:GPSLongitudeRef="E"
   exif:GPSLongitude="7,9.59396638E"/>
 </rdf:RDF>
</x:xmpmeta>

Delete the xmp file and recreate it using the picture->write metadata to picure
menue item

check the xmp file

Actual Results:  
Not all metadata has been written to the xmp file

the GPS Data is missing although it is still present in the database (the
geolocation tab on the right side correctly places the image on the map).

<?xml version="1.0" encoding="UTF-8"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
    xmlns:xmp="http://ns.adobe.com/xap/1.0/"
    xmlns:exif="http://ns.adobe.com/exif/1.0/"
    xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
    xmlns:digiKam="http://www.digikam.org/ns/1.0/"
    xmlns:MicrosoftPhoto="http://ns.microsoft.com/photo/1.0/"
   tiff:Software="digiKam-2.0.0-beta6"
   tiff:DateTime="2011-05-04T11:59:18"
   xmp:CreatorTool="digiKam-2.0.0-beta6"
   xmp:CreateDate="2011-05-04T11:59:18"
   xmp:MetadataDate="2011-05-04T11:59:18"
   xmp:ModifyDate="2011-05-04T11:59:18"
   xmp:Rating="0"
   exif:DateTimeOriginal="2011-05-04T11:59:18"
   photoshop:DateCreated="2011-05-04T11:59:18"
   digiKam:PickLabel="0"
   digiKam:ColorLabel="0"
   MicrosoftPhoto:Rating="0"/>
 </rdf:RDF>
</x:xmpmeta>



Expected Results:  
the xmp file is recreated with all available metadata

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 273811] recreating xmp sidecar file does not store all properties

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=273811


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Metadata                    |Sidecar Management




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 273811] recreate metadata of a file from cached database information

Marcel Wiesweg
In reply to this post by Bugzilla from rene@brandenburger.lu
https://bugs.kde.org/show_bug.cgi?id=273811

Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|Sidecar Management          |Metadata
            Summary|recreating xmp sidecar file |recreate metadata of a file
                   |does not store all          |from cached database
                   |properties                  |information
     Ever confirmed|0                           |1
           Severity|normal                      |wishlist

--- Comment #1 from Marcel Wiesweg <[hidden email]> ---
This is not a sidecar issue. Delete the metadata from the file with exiv2, and
call the above function: you will get the same result. The "write metadata to
file" function refers only to the properties which are edited by digikam,
mostly tags, rating, comments, copyright and IPTCcore properties.
The GPS is stored in the database as a cache, but as with other data such as
shutter speed or aperture, the primary storage is only the metadata, and there
is currently no method to recreate lost metadata from cached values.

Obviously, using metadata is easier if it's separate in a sidecar, but
technically there is no difference.

This remains a wish for a metadata recreation function (which will, btw,
necessarily be incomplete compared to the original file)

--
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 273811] Recreate file metadata taking information stored in database

Gilles Caulier-4
In reply to this post by Bugzilla from rene@brandenburger.lu
https://bugs.kde.org/show_bug.cgi?id=273811

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|recreate metadata of a file |Recreate file metadata
                   |from cached database        |taking information stored
                   |information                 |in database
                 CC|                            |[hidden email]

--
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 273811] Recreate file metadata taking information stored in database

Gilles Caulier-4
In reply to this post by Bugzilla from rene@brandenburger.lu
https://bugs.kde.org/show_bug.cgi?id=273811

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from Gilles Caulier <[hidden email]> ---
*** Bug 283011 has been marked as a duplicate of this bug. ***

--
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 273811] HUB : recreate file metadata taking information stored in database

Gilles Caulier-4
In reply to this post by Bugzilla from rene@brandenburger.lu
https://bugs.kde.org/show_bug.cgi?id=273811

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Recreate file metadata      |HUB : recreate file
                   |taking information stored   |metadata taking information
                   |in database                 |stored in database

--
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 273811] HUB : recreate file metadata taking information stored in database

Gilles Caulier-4
In reply to this post by Bugzilla from rene@brandenburger.lu
https://bugs.kde.org/show_bug.cgi?id=273811

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Metadata                    |Metadata-Hub

--
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