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

            Bug ID: 481762
           Summary: Can't write XMP tags: to file Unknown namespace prefix
                    for qualified name
    Classification: Applications
           Product: digikam
           Version: 8.2.0
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Metadata-Engine
          Assignee: digikam-bugs-n...@kde.org
          Reporter: betoke...@gmail.com
  Target Milestone: ---

SUMMARY
***
XMP tags and face regions are not being saved to file, even using exiftool.
It is not the case of XMP segment >64K:
    exiftool -G1 -a -s -xmp "PXL_4487.JPG"
    [XMP]           XMP                             : (Binary data 4703 bytes,
use -b option to extract)
***


STEPS TO REPRODUCE
1. Scan/identify faces and set some tags in picture
2. Save metadata to file

OBSERVED RESULT
See comment with log extract.

EXPECTED RESULT
Face rectangles and tags should be saved to file. It seems only "XP Keywords"
and "Keywords" are, nothing else.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Extract from log:
[1532] digikam.metaengine: "PXL_4487.JPG"  ==> New Iptc Keywords:  QList("Faces
1", "Collections", "Portraits", "NoNoNo", "Faces area range 10")
[1532] digikam.metaengine: MetaEngine::metadataWritingMode 0
[1532] digikam.metaengine: Will write Metadata to file "PXL_4487.JPG"
[1532] digikam.metaengine: Check ExifTool availability: true
[1532] digikam.metaengine: Exiv2 ( 3 ) :  XMP Toolkit error 102: Unknown
namespace prefix for qualified name
[1532] 
[1532] digikam.metaengine: Exiv2 ( 3 ) :  Failed to encode XMP metadata.
[1532] 
[1532] digikam.metaengine: ExifTool "Apply Changes EXV" "-ifd0:all= -gps:all=
-iptc:all= -file:comment= -xmp-dc:all= -xmp-lr:all= -xmp-mp:all= -xmp-xmp:all=
-xmp-exif:all= -xmp-tiff:all= -xmp-xmpdm:all= -xmp-acdsee:all= -xmp-mwg-rs:all=
-xmp-digikam:all= -xmp-mediapro:all= -xmp-iptccore:all= -xmp-microsoft:all=
-xmp-photoshop:all= -TagsFromFile
X:\\Users\\XXX\\AppData\\Local\\Temp\\MetaEngine-JEqalf-3dd77988.exv -all:all
-codedcharacterset=UTF8 -TagsFromFile @ -makernotes -overwrite_original
X:\\Users\\XXX\\Pictures\\PXL_4487.JPG"
[1532] digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command
completed
[1532] digikam.metaengine: ExifTool complete command for action "Apply Changes
EXV" with elasped time (ms): 60
[1532] digikam.metaengine: ExifTool output:
[1532] digikam.metaengine: ---
[1532] digikam.metaengine:     1 image files updated 
[1532] 
[1532] digikam.metaengine: ---
[1532] digikam.metaengine: ExifTool parsed command for action "Apply Changes
EXV" 0 properties decoded
[1532] digikam.metaengine: ExifTool complete "Apply Changes EXV" for
"PXL_4487.JPG"
[1532] digikam.metaengine: File time stamp restored
[1532] digikam.metaengine: Metadata for file "2021-05-16 01h02 PXL_4487.JPG"
written to file.
[1532] digikam.metaengine: Loading metadata with "Exiv2" backend from
"PXL_4487.JPG"
[1532] digikam.dimg: "PXL_4487.JPG" : "JPEG" file identified
[1532] digikam.metaengine: DateTime (Exif digitalized): QDateTime(2021-05-16
01:02:00.000 UTC Qt::UTC)
[1532] digikam.metaengine: DateTime (digitization date): QDateTime(2021-05-16
01:02:00.000 UTC Qt::UTC)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to