1
Vote

Feature request: Apply color profiles on load

description

Found some color display issues with CMYK images.

See attached sample image created by Photoshop CS2, the color displays of CMYK JPEG images are correct, but the color displays of CMYK PSD and TIFF images are incorrect.

With CMYK3.psd, the dark green color around the picture becomes light green color, with CMYK3.tif the pink color with bottom picture becomes purple color, also about same issues with CMYK1.PSD and CMYK.tif images.

file attachments

comments

taoyue wrote Sep 12, 2010 at 5:38 PM

Thanks for reporting the issue.

The cause is that the PSD plugin does not handle color profiles. The JPEG and TIFF loaders use the built-in format decoders in Windows GDI+, which understands color profiles. The PSD plugin, on the other hand, converts CMYK to RGB as though both had the same gamut.

I am changing the title of this bug and setting the type to "Feature."

As far as I can tell, .NET (WPF, to be specific) includes colorspace conversions only for RGB profiles. To include CMYK, would probably have to interop into ICM.

Paint.NET is not a color-managed application. To be consistent with the way JPEG and TIFF are handled, this would be a load-only feature. Transform the image to the current monitor profile on opening, and then drop the profile on save. The PSD would then save out as a non-color-managed RGB, making it clear that the file originated in a non-color-managed application.