wrong percentage value in color picker
Environment/Versions
- GIMP version: 2.10.28 newest version
- Package: Installer from gimp.org
- Operating System: Windows
Description of the bug
There are wrong percentage values in color picker panel. It shows negative value for 16 bit PNG images, check this snapshot below. and here is the source image
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- open the image male.png, DONT convert the image's color profile, click keep button.
- open the color picker (shortcut letter O key)
- mouse click a point on the image, it shows the wrong value.
…
Expected result:
Actual result:
Additional information
If you have a backtrace for a crash or a warning, paste it here.
Edited by Martin Taylor