Am 02.09.10, 08:17 +0100 schrieb MacArthur, Ian (SELEX GALILEO, UK):
>> is there a explicite policy on how to handle colour
>> management in FLTK?
>
> I don't think so - though others may have more information.
> Actually, it is entirely possible, from your background, that you know
> more about this than anyone else here!
>
> I don't really know Quartz etc. well enough to even suggest something
> for the OSX case.
>
> Sorry...
Thanks for your reply.
FLTK on osX SL uses Generic RGB, which is not sRGB at all.
The situation for writers of colour managed applications is quite fuzzy
[1].
As a suggestion. FLTK might add an API to expose the used colour space.
On WIN32 and Linux it might return sRGB. On osX SL it can return the used
colour space. Thus interessted applications can query what to colour
correct to.
/* provide a malloced ICC profile block and its size */
int fl_color_space( void ** returned_profile_block,
size_t * returned_size );
The profile can on Linux be asked from the X11 server [2]. So
returning the first displays profile might be the right choice.
osX has shurely functions to convert a CGColorSpaceRef to a ICC profile
data blob.
kind regards
Kai-Uwe Behrmann
--
developing for colour management
www.behrmann.name + www.oyranos.org
[1] http://oyranos-cms.blogspot.com/2010/09/cross-platform-toolkits-and-cm.html
[2] http://www.freedesktop.org/wiki/Specifications/icc_profiles_in_x_spec
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk