DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2411
Version: 1.3-feature


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 interested 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 surely functions to convert a CGColorSpaceRef to a ICC profile 
data blob.

[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


Link: http://www.fltk.org/str.php?L2411
Version: 1.3-feature

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to