[Digikam-devel] [Bug 282903] New: Image corrupted after writing metadata due to sidecar XMP

Michal Thoma michal at thoma.cz
Tue Sep 27 13:33:52 BST 2011


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

           Summary: Image corrupted after writing metadata due to sidecar
                    XMP
           Product: digikam
           Version: 2.1.1
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Metadata
        AssignedTo: digikam-devel at kde.org
        ReportedBy: michal at thoma.cz


Version:           2.1.1 (using KDE 4.6.2) 
OS:                Linux

I have a RAW (PEF) file with accompanied XMP, created by digikam 2.0 before - I
stopped writing metadata to XMP and reverted to writing metadata to image
directly. I still want to Read Metadata from XMP so I also have ticked this.

Now when I change metadata like rating in any Image which has accompanied XMP,
file get corrupted after that.

When the option Read Metadata from XMP is not selected, corruption will not
happen.

Reproducible: Always

Steps to Reproduce:
1. In Preferences Metadata tab choose Write Metadata to XMP sicar only. 
2. Change Rating or other metadata of the image.
3. In Prefernces Metadata tab choose Write Metadata to image files only. Also
tick Read Metadata from XMP option.
4. Change some image metadata then.



Actual Results:  
Image is corrupted and can't be viewed in digikam or other app.

Expected Results:  
Image metadata will be changed and data which were in XMP will be appended or
used without corrupting the image.

Sample files (original image with xmp and corrupted image) are for download
here:

http://download.thoma.cz/digikam-xmp-corruption.zip

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list