[OpenJDK 2D-Dev] Missing colour profiles

Jerry Evans Jerry.Evans at Sun.COM
Wed Apr 23 21:24:18 UTC 2008


Andrew Haley wrote:

>sRGB data is (a function similar to) raising to the power 2,2,
>so to go from linear RGB to sRGB is 
> 
>  Math.pow(x/255, 1/2.2) * 255
>  
>
>When light levels are very low the transfer function is very nonlinear, so
>errors will be high.  That's true of both lcms and Kodak, but in my opinion
>lcms is doing a better job in this case.
>  
>
sRGB defines a linear section of the transfer curve for very low light 
levels.
If you want to have new tests for sRGB/lRGB fidelity, you should use the
equations in the ISO standard.

Jerry





More information about the 2d-dev mailing list