Re: Color space API
Krzysztof Kosiński <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAFLw2WRHfNkswgw6LVi3etHYsSkuHP-TNYrMF3O3fLAOXNYLfw@mail.gmail.com> |
2012/8/3 Francois Robert <[email protected]>: > I am not sure what you call "screen buffer". I believe it is an OS responsibility to alter color values passed to your video card, in accordance to the colorspace definition for your -calibrated- display. If by "screen buffer" you intend the array of values passed to the OS for blitting, then I believe you are more or less correct. If by "screen buffer" you intend the memory internal to the video card which is accessed by the DACs when they construct the signal sent down a VGA wire to the display, I believe you are wrong. No, the OS does not alter the data sent to the video card in any way. The OS merely provides a way to query the ICC profiles assigned to the devices. The application must apply color correction on its own. Within the proposed Cairo API, this would mean drawing on a surface that has a colorspace extracted from the ICC profile of the intended output device. Regards, Krzysztof -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo