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

            Bug ID: 468830
           Summary: Metadata is lost after write operation when the size
                    of XMP JPEG segment is larger than 65535 bytes when
                    using Exiftool backend
    Classification: Applications
           Product: digikam
           Version: 8.0.0
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: Metadata-Engine
          Assignee: digikam-bugs-n...@kde.org
          Reporter: jose_oli...@hotmail.com
  Target Milestone: ---

SUMMARY
***
Metadata is lost after write operation on certain image files when the size of
XMP JPEG segment is larger than 65535 bytes. 
***


STEPS TO REPRODUCE
1. Launch Digikam.
2.  Enable use of Exiftool for all backend opeations.
3.  Open attached sample file "test_before.jpg".
4.  In Digikam, add caption: "This is a test" and click to apply changes to
file (write to metatada).

OBSERVED RESULT
- EXIF, XMP and IPTC metadata is erased.

EXPECTED RESULT
- Existing metadata preserved, and file modifications written to file.

SOFTWARE/OS VERSIONS
Windows 11

ADDITIONAL INFORMATION
- Refer to attached DebugView log:

Cannot export changes with Exiv2 backend:   (Error # 37 :  "Size of XMP JPEG
segment is larger than 65535 bytes"        
00000471        106.79980469    [44080] digikam.metaengine: ExifTool "Apply
Changes EXV" "-xmp:all= -exif:all= -iptc:all= -TagsFromFile
C:\\Users\\jmoli\\AppData\\Local\\Temp\\MetaEngine-HRkVhC-8187ffd8.exv -all:all
-codedcharacterset=UTF8 -TagsFromFile @ -makernotes -overwrite_original
D:\\Users\\Jose\\OneDrive\\Pictures\\Stagging\\2023-04-00 Spain-Greece\\02
Madrid\\Catedral\\test\\Test_before.jpg"     
00000472        106.97925568    [44080] digikam.metaengine:
ExifToolProcess::readOutput(): ExifTool command completed

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

Reply via email to