Re: [Lcms-user] Getting the profile whitepoint
An ICC-based CMM for color management
Brought to you by:
mm2
|
From: Richard H. <hug...@gm...> - 2012-11-23 11:11:54
|
On 23 November 2012 10:32, <mar...@li...> wrote:
>> cmsUInt32Number intents[2] = { INTENT_ABSOLUTE_COLORIMETRIC,
>> INTENT_ABSOLUTE_COLORIMETRIC };
> Ok, this function allows you to specify intents *per profile*, that means
> you can use relative colorimetric when going from RGB to PCS in the first
> profile and perceptual when going PCS to second profile. Mixing intents
> is generally a bad idea, but there are situations where it can be
> useful. So here is the functionality.
So I'm actually specifying RGB->PCS (absol-col) and PCS->XYZ
(absol-col) -- that's probably worth adding to the docs as it was a
little confusing.
>> Also I don't think BPC makes sense for absolute-colorimetric, and I
>> kinda expected to be able to pass NULL there. If you do that it blows
>> up :)
> Right. I will try to fix that in next release (maybe NULL would mean
> no BPC?)
Well, I'd expect it to do something sane, i.e. we've got dwFlags and
so it's easy to set global BPC on or off.
Maybe it just needs documenting... :)
Richard.
|