I’ve been using Qt, by Qt Group for years and I must confess I am delighted. Many toolkits promises the mantra “Code once and run everywhere”, but indeed this works with Qt. Qt6 was announced few days ago. They now include some sort of color management on images QColorSpace, but still no neat way to use complex ICC V4 pipelines. In this small article I will show you how to do true RGB color management in Qt, by using LittleCMS, with very few lines of code.
Days ago, a very interesting question arose in the mailing list. How can I visualiza the gamut of a profile? Little CMS does not offer direct tools to do that. But with some code, it is easy to do so. Be warned there is some hacking required. A typical profile can be thought as a “black box” that translates values from a colorimetric space, usually CIE L*a*b*, to a device space.