Bug 420760 - No color management for TIFF files
Summary: No color management for TIFF files
Status: CONFIRMED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: Other (add details in bug description)
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-29 16:31 UTC by Ami
Modified: 2020-04-30 14:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ami 2020-04-29 16:31:13 UTC
SUMMARY
Images are opened with sRGB instead of embedded color profile

STEPS TO REPRODUCE
1. Convert image to some other color profile eg. linear prophoto RGB or Rec2020 (e.g. in krita)
2. Open in gwenview and compare


OBSERVED RESULT
Opened images looks exactly as when you set programs to ignore embedded color profile

EXPECTED RESULT
Opened images should be opened with the correct profile 

gwenview 17.12.3, 19.12.3

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 18.04... 20.04
(available in About System)
KDE Plasma Version: 5.12.9, 5.18.4
KDE Frameworks Version: 5.47.0, 5.68.0
Qt Version: 5.9.5, 5.12.8 

ADDITIONAL INFORMATION
Comment 1 2wxsy58236r3 2020-04-30 03:28:10 UTC
Opening the test files by Florian Höch (License: CC BY-SA 4.0) on Gwenview 20.04.0 yields the following result:

1. jpg and png test files are rendered as expected with correct colors, color management is working and embedded profile is respected. (I used GIMP to verify that the files have embedded color profiles.)

2. tif test files are rendered with *incorrect* colors, the text "NO COLOR MANAGEMENT OR EMBEDDED PROFILE IGNORED" is shown, which means Gwenview's color management is not working for tif format.

[1] https://displaycal.net/icc-color-management-test/ICC_CM_Test.zip

To bug reporter:

Can you please upload your converted images so that we can test the bug? Thanks!
Comment 2 Ami 2020-04-30 09:10:03 UTC
For the test i uploaded 2 files of same scene with different color profiles:
https://mega.nz/folder/HA10HCwR#GUfhZbrfGfr8d_idU0guMw

Thank you
Comment 3 2wxsy58236r3 2020-04-30 14:19:48 UTC
After looking at the source code, I believe that Gwenview's color management (probably) is only implemented for JPG and PNG, but not TIFF, so I am changing this bug to CONFIRMED.