Smudge Tool - Wrong colors when painting on an image with a color profile other than the gimp built-in.
GIMP version: 2.10
Operating System: Linux
Package: Compiled from gimp-2.10 git branch (commit ac9fff1f)
Description of the bug
Using the smudge tool to paint (with a high flow value) will put a color in the canvas that is darker than the one selected to paint if the image has an assigned color profile other than the gimp built-in.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
-
Create a new image (Perceptual or Linear, any bpp value) with an appropiate icc profile. I have tested with sRGB-elle-V4-srgbtrc.icc for Perceptual images and sRGB-elle-V4-g10.icc for Linear ones.
-
Select the smudge tool, make sure flow is at 100%, paint in the canvas with 50% Gray.
…
Expected result: The resultant color in the canvas is 50% gray.
Actual result: The resultant color in the canvas is 21,4% gray.
Additional information
I'm using the icc profiles from Elle Stone's git repository.