Posts: 4
Threads: 1
Joined: Apr 2023
Reputation:
0
Operating system(s):
- Windows Vista or 7, 8, 10 (64-bit)
Gimp version: 2.10
I've coded a conversion of RGB to LCH & tried to use Gimp to verify my numbers. However, there are discrepencies which I don't understand.
e.g.
#0009be RGB(0,9,190): Gimp LCH (21.3, 102.9, 300.7) My LCH (23.4, 105.1, 305.7)
The ColorMath Online Colour converter & Converting Colours Converter agree with me, give or take some minor rounding errors.
Is Gimp doing some sort of Out of Gamut compensation? (I'm guessing at this because I'm a beginner in this area).
Posts: 6,358
Threads: 275
Joined: Oct 2016
Reputation:
565
Operating system(s):
Gimp version: 2.10
Do you convert from RGB directly, or do you take in account gamma correction, and if so, how?
Posts: 4
Threads: 1
Joined: Apr 2023
Reputation:
0
Operating system(s):
- Windows Vista or 7, 8, 10 (64-bit)
Gimp version: 2.10
I'm using sRGB values as input which is already 2.2 isn't it? I'm on a v steep learning curve here so it's v likely that I've missed something.
(sRGB -> XYZ -> LAB -> LCh using D65 white point)
Posts: 4
Threads: 1
Joined: Apr 2023
Reputation:
0
Operating system(s):
- Windows Vista or 7, 8, 10 (64-bit)
Gimp version: 2.10
Given 3 other converters agree with me, I think I'm happy to go with what I've got for my purposes (though we could all be creating the same error based on internet searches :-)).
Would you recommend that I progress this e.g. with a bug report, in case there's an issue within Gimp?
Posts: 4
Threads: 1
Joined: Apr 2023
Reputation:
0
Operating system(s):
- Windows Vista or 7, 8, 10 (64-bit)
Gimp version: 2.10
Thanks for your replies; much appreciated.