1.6.x regression: copy image with ICC to clipboard no longer convert color properly
Posted: Sat Jan 20, 2024 11:59 am
STR:
0. In settings -> General -> ICC, Use ICC
1. Prepare an image with embedded ICC. I attached one for your convenience.
2. Open the image with XnView MP (viewer).
3. Press Ctrl+C or Ctrl+shift+C to copy the image to clipboard.
4. Open Paint, press ctrl+V to paste the image.
Expected, and worked like so in 1.4.5:
The copied image has the same color as the original one shown in XnView -- the colors are converted to sRGB with same perceptual color.
Observed in 1.6.x:
The copied image in Paint has their perceptual color and becomes pale -- because it does not account for the ICC and just shows the RGB value as they're sRGB.
0. In settings -> General -> ICC, Use ICC
1. Prepare an image with embedded ICC. I attached one for your convenience.
2. Open the image with XnView MP (viewer).
3. Press Ctrl+C or Ctrl+shift+C to copy the image to clipboard.
4. Open Paint, press ctrl+V to paste the image.
Expected, and worked like so in 1.4.5:
The copied image has the same color as the original one shown in XnView -- the colors are converted to sRGB with same perceptual color.
Observed in 1.6.x:
The copied image in Paint has their perceptual color and becomes pale -- because it does not account for the ICC and just shows the RGB value as they're sRGB.