OpenGTL 0.9.2 and linear RGB color space

I finally made a new release of OpenGTL, with a nearly full support of the CTL (Color Transformation Language) syntax. While large part of the standard library is still unavailable, it has all the features currently needed for Krita’s color spaces.

This allows to bring color management to color spaces that didn’t have that, and most specifically our RGB HDR (High-Dynamic Range) color spaces. It is especially interesting, because we need to have both a linear color space (for most high dynamic range operations, and if you want to do gamma correct scaling) and a non linear (a sRGB color space, which is used for color conversion, mostly with the painterly framework). So we were in need to be able to have profiles on top of those color spaces, and that is exactly what CTL is giving to us.

Back to gamma correct scaling, some times ago someone mentioned to me this link, scaling with non-linear color space gives a wrong result. Before we started using CTL based RGB color space, our HDR color space were an hybrid of sRGB (non-linear) and scRGB (linear) (don’t try to understand how we got there, I don’t either), and curiously, the scaling was wrong half of the time (don’t try to understand it was possible, I don’t either), but now, using the linear RGB color space, we can have gamma correct scaling:

This entry was posted in Open Source, OpenGTL and tagged , , , , . Bookmark the permalink.

One Response to OpenGTL 0.9.2 and linear RGB color space

  1. Daniel G says:

    That’s very cool. Now Krita is the first Doing It Right.However, I wonder why it has that white border around it, the scaled picture from the link doesn’t have it.Nice job!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>