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

            Bug ID: 408485
           Summary: Colors appear darker when retrieving an external
                    picture as a File Layer
           Product: krita
           Version: 4.2.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: to...@offensivelytolerant.com
  Target Milestone: ---

Created attachment 120727
  --> https://bugs.kde.org/attachment.cgi?id=120727&action=edit
A Zip archive containing the files needed for demonstrating the issue

SUMMARY
Two common ways to get an external picture into a Krita project are importing
it as a layer, or using a File Layer pointing to it.

Since at least version 4.2.1 (not present in 4.1.7 as shown in comparison.png),
it seems that some wrong colorspace is applied to the picture when getting it
in as a File Layer, resulting in overall darker colors. However, importing it
as layer (Top bar menu > Layer > Import/export > Import as layer...) keeps the
colors as they should be ( how_it_should_looks_like.jpg for reference). 

All of this happens in a Krita project (krita42Benchmarku.kra) using Linear
scRGB colorspace, float16 precision , dual monitor setup (but changing the
colorspace in Krita settings has no influence on solving the problem), Linux
Parabola, using the official appimage. It doesn't seems to happen in a regular
8-bit sRGB project (using how_it_should_looks_like.jpg as a picture to import)

STEPS TO REPRODUCE
1. Extract example.zip archive : it should contain four files,
krita42benchmarku.kra, external_picture_to_import.exr, comparison.png and
how_it_should_looks_like.jpg
2. Open krita42benchmarku.kra with Krita-4.2.1. It has two layers, an imported
layer and a File Layer
3. Use external_picture_to_import.exr as a target for the File Layer (and
optionnally : reimport this file as layerwith Top bar menu > Layer >
Import/export > Import as layer...)
4. See the flagrant difference between the File Layer and the imported layer
5. Try to do this with Krita-4.1.7 ; layers should look similar

OBSERVED RESULT
The File Layer looks darker than the imported layer in Krita 4.2.1, as shown in
comparison.png (layer thumbnails are used for this comparison ; actual layers
looks the same as their thumbnails)

EXPECTED RESULT
The File Layer should look similar to the imported layer and the same as
how_it_should_looks_like.jpg, as in Krita 4.1.7

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux Parabola, LXDE, Thinkpad laptop (x230) with external
screens
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: using the Appimage

ADDITIONAL INFORMATION

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

Reply via email to