[cairo] 16-bit, HDR and colour

Bill Spitzak spitzak at thefoundry.co.uk
Thu Oct 4 06:28:21 PDT 2007

Kodak Cineon and DPX files use that for storing colors. However the 10 
bit numbers are log light levels so you have to do some math to convert 
them to sRGB values used by the screen.

The linear light level is approximately pow(10,(x-685)/300). Thus the 
value 685 turns into 1.0. Note that this is linear light, not sRGB.

MenTaLguY wrote:

> What's the use case for, out of curiosity?

Bill Spitzak, Senior Software Engineer
The Foundry, 1 Wardour Street, London, W1D 6PA, UK
Tel: +44 (0)20 7434 0449 * Fax: +44 (0)20 7434 1550 * Web: 
The Foundry Visionmongers Ltd * Registered in England and Wales No: 4642027

More information about the cairo mailing list