Bug 353815 - Using Batch Queue Manager to extract preview images loses metadata
Summary: Using Batch Queue Manager to extract preview images loses metadata
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-Convert (show other bugs)
Version: 4.13.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-12 05:08 UTC by Michal Sylwester
Modified: 2022-09-08 07:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.14.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Sylwester 2015-10-12 05:08:46 UTC
My typical workflow: Normally I shoot my photos to RAW with embedded JPEG preview. Then depending on needs I either process the RAWs, or just extract the preview if it's good enough for me. However when I use the Batch Queue Manager for this the extracted images lack the metadata from original.

 

Reproducible: Always

Steps to Reproduce:
1. Shoot some RAWs with embedded JPEG preview
2. Use Batch Queue Manager to extract the JPEG (set behavior tab: to "Extract embedded preview", and convert to JPEG base tool and run)


Actual Results:  
The resulting JPEG has no metadata of the original RAW

Expected Results:  
Metadata is copied from RAW to JPEG

Not sure how to classify the severity, but as I remove the RAWs I don't need to keep but I still need the metadata this may result in (meta)data loss. Graphical data is preserved as expected.

Currently the only workaround I've found is to manually copy the metadata after extraction:
for i in *.CR2; do j=${i%.CR2}.jpg; exiftool -TagsFromFile $i $j; done
Comment 1 caulier.gilles 2015-10-12 08:30:57 UTC
Git commit 31185d15b43ce357e88d9b76fda5a562f77e5854 by Gilles Caulier.
Committed on 12/10/2015 at 08:29.
Pushed by cgilles into branch 'master'.

Restore metadata when extract embeded jpeg is used to process RAW files in BQM
FIXED-IN: 4.14.0

M  +1    -0    NEWS
M  +4    -0    utilities/queuemanager/manager/batchtool.cpp

http://commits.kde.org/digikam/31185d15b43ce357e88d9b76fda5a562f77e5854
Comment 2 caulier.gilles 2015-10-12 08:37:24 UTC
Git commit dd1572676fc4a2357026f1c14c8d6076a63aec74 by Gilles Caulier.
Committed on 12/10/2015 at 08:36.
Pushed by cgilles into branch 'frameworks'.

backport commit #31185d15b43ce357e88d9b76fda5a562f77e5854 from git/master to frameworks branch

M  +4    -2    utilities/queuemanager/manager/batchtool.cpp

http://commits.kde.org/digikam/dd1572676fc4a2357026f1c14c8d6076a63aec74
Comment 3 Michal Sylwester 2015-10-13 07:59:25 UTC
This was quick, thanks!