Bug 318661 - Send by mail tool does not convert to sRGB and strips existing ICC profile
Summary: Send by mail tool does not convert to sRGB and strips existing ICC profile
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SendByMail (show other bugs)
Version: 5.6.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-21 10:12 UTC by Milan Knížek
Modified: 2017-07-09 15:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Knížek 2013-04-21 10:12:44 UTC
When exporting images from digiKam to be sent via email, the existing ICC profile is stripped from the image and image is not converted to the de-facto standard (sRGB) web profile.

Reproducible: Always

Steps to Reproduce:
1. Select few images in dk album view 
2. Choose menu Export / Send Images

Actual Results:  
Image remains encoded in the original color space and the embedded ICC profil is stripped.

Expected Results:  
If image is encoded in non-sRGB color space, it should be converted to it and then the embedded ICC profile stripped. The corresponding EXIF tags should be set to refer to sRGB color space.

KDE 4.10.2, digikam 3.1.0, kipi-plugins 3.1.0-1, Arch Linux
Default color space in digiKam set to AdobeRGB. Test image was encoded with BGR.icc (synthetic profile with swapped channels to see easily if things go wrong).
Comment 1 caulier.gilles 2013-04-21 10:44:12 UTC
In background, conversion of image is done through QImage, which do not support CM...

Gilles Caulier
Comment 2 Milan Knížek 2013-04-21 15:55:05 UTC
Is there a chance that this bug might attract some developers?

I cannot code, bash scripting is my only choice for any work-around (I'll probably use the "Open with..." right-mouse-click menu).
Comment 3 caulier.gilles 2015-05-19 08:03:21 UTC
As i explain in comment #1, the background process use QImage and still simple without CM supports. So this which still out of space of this tool goal...

Gilles Caulier
Comment 4 Milan Knížek 2017-07-09 15:16:33 UTC
Not sure when things changed, but currently digikam at least converts the image to sRGB, strips the profile and sets the JPEG tag to sRGB as well. So it seems "FIXED".