Hey everyone,

I sent a mail back in august about retrieving data from an icc profile. In
the case of Linearising a given colour value from a gamma corrected space
for the use in filters, the following was suggested:

1. Get a linear version of the same profile.
2. Convert with LCMS to that profile and back when you're done.

Problem is, how does one obtain this linear profile when expecting any
arbitrary icc profile? There's something of an 'linearisation device link'
mentioned in the API docs, but it doesn't mention how to use this, so I
can't verify if this is the function that I am looking for.

The second option is to have LCMS customly make a profile from the data of
the abitrary profile, but this seems very error-prone?

Option 3 is to have several hard-coded rgb spaces, which is also quite
awkward.

What would be the best way to solve this?
------------------------------------------------------------------------------
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to