LWN.net Logo

SCALE 8x: Color management for everyone

SCALE 8x: Color management for everyone

Posted Mar 5, 2010 23:39 UTC (Fri) by roelofs (guest, #2599)
In reply to: SCALE 8x: Color management for everyone by ssam
Parent article: SCALE 8x: Color management for everyone

ok. so the application would just need to pass some colour space metadata along with the pixels.

No--any application that does its own alpha-blending, for example, needs to convert the image(s) and background from their native color space(s) to linear (gamma = 1.0), do the compositing, and (usually) convert back. Other transformations (lighting/shading calculations and whatnot in 3D, IIRC) also require linear gamma for correctness. And it's hard to imagine a driver complex enough to support multi-source display app like a browser ("this block of pixels is linear, this block uses this custom ICC profile, that block is SGI/gamma-1.7, and everything else is sRGB"). Conceivably it's doable, but I'm not sure a driver is the best place for it.

Greg


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds