Color profile conversion is broken
Environment/Versions
- GIMP version: v2.10.32
- Package: Flatpak or Fedora package - doesn't matter
- Operating System: Fedora 36
Description of the bug
Converting the color profile of an image into another results in wrong colors.
Reproduction
Always
Reproduction steps:
- Open image that has a color profile assigned
- open the "convert color profile" dialog and convert it into another, ideally perception based
Expected result:
Image looks basically the same, but under a different color profile.
Actual result:
Image will look very different, depending on image.
Additional information
Try the first image with the cows here: https://fotovideotec.de/browser_farbmanagement/index.html to make it obvious. If you convert this image into sRGB with perceptive intent, the colors will be way off. Krita does it as expected.
In other images the error will be more subtle, like when converting an AdobeRGB image into sRGB and the colors becoming even more saturated.