> The most accurate ICC profile from fl_color_space() would be 
> only what is
> really set by FLTK. On osX it is the ICC equivalent of
> CGColorSpaceCreateDeviceRGB.

The OSX docs say that from 10.4 onwards, CGColorSpaceCreateDeviceRGB no
longer creates a device dependent colorspace, and instead uses the
generic (and therefore allegedly color corrected) space instead...

<quote>
Discussion
In Mac OS X v10.4 and later, this color space is no longer
device-dependent and is replaced by the generic
counterpart-kCGColorSpaceGenericRGB-described in "Color Space Names". If
you use this function in Mac OS X v10.4 and later, colors are mapped to
the generic color spaces. If you want to bypass color matching, use the
color space of the destination context.

Colors in a device-dependent color space are not transformed or
otherwise modified when displayed on an output device - that is, there
is no attempt to maintain the visual appearance of a color. As a
consequence, colors in a device color space often appear different when
displayed on different output devices. For this reason, device color
spaces are not recommended when color preservation is important.
</quote>



Anyway - is this any good?

CGColorSpaceCopyICCProfile()

   Returns a copy of the ICC profile of the provided color space.

CFDataRef CGColorSpaceCopyICCProfile(CGColorSpaceRef space);

Parameters
   space - The color space whose ICC profile you want to obtain.






SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to