>Today I seek an algorithm in Delphi which makes it possible to
>write profiles ICC when one determined the trichromatic components
>of the primary educations of the monitor and the gammas which are
>dependent for them. Can you advise me again?
Is easy using lcms. You need three things:
- White point
- Gamma curves
Once you have all these, then you can build a "virtual" profile. In the
tutorial (part V) this is explained in detail, so I will assume you know
how to do. The function is cmsCreateRGBProfile()
Then, you can save the generated virtual profile by calling:
Please note the leading underscore. You can also add information about
name, copyright, etc. by using _cmsAddTextTag before saving.
_cmsAddTextTag(hProfile, $63707274, 'copyright (c) you')
_cmsAddTextTag(hProfile, $646D6E64, 'Manufacturer')
_cmsAddTextTag(hProfile, $646D6464, 'Model')
These weird numbers are tag identifiers. To know wich numbers
are tied to each tag, you can browse the ICC spec (http://www.color.org)
or take a look into ICC34.H
Usually, these 3 above are the only ones needed.
Hope this helps,
The little cms project
----- Original Message -----
From: Color ID
To: Martí Maria
Sent: Monday, April 01, 2002 6:08 PM
Subject: to write profiles ICC
At the beginning of February of this year me usefully advised you to use in Delphi the library " Lcmsdll ". I could develop an
application which reads and uses profile ICC of the monitors.
Today I seek an algorithm in Delphi which makes it possible to write profiles ICC when one determined the trichromatic components
of the primary educations of the monitor and the gammas which are dependent for them. Can you advise me again?