Hi,

>    But I want to make a program that generates profiles.

Ok. There are two ways to generate a monitor profile.

One, the most easy, is by using littlecms. For this you need
3 things: the primaries, the white point and the gamma of
the monitor. If you already have these parameters, calling
a couple of functions will accomplish the profile.

Since these functions belong to lcms, they are fully documented
and well tested.  Littlecms is released under LGPL, that is,
you can use it in commercial projects too.

The other  way is by using lprof. The profilers are NOT
released under LGPL but under GPL. That is, you cannot
use it on commercial projects but only on free, open source
ones. We did this in such way because building a commercial
profiling package would be too easy, and there are people
making a living from such programs. For these reasons the
lprof library is not documented.

Anyway, The profiler is more powerful but also more complex,
you need to supply a IT8 file containing measurements and some
parameters. Profiles generated by lprof can handle viewing
conditions and some other tweaks, but otherwise are identical
with those generated with lcms code.

If you can effectively use a measurement device, getting
white point, primaries and gamma curves is an easy task.
I would recommend to give a try before going to lprof code,
which is harder to use and to understand.

As a sample, this will generate a profile by using lcms code:

    cmsHPROFILE hMonitor;

    hMonitor = cmsCreateRGBProfile(&WhitePoint, &Primaries, GammaGurves);
   _cmsSaveProfile(hMonitor, "myprofile.icm");


Please let me know which method you plan to use,
and I will try to do a quick explanation on how to do.

Regards,
Mart� Maria
The little cms project
http://www.littlecms.com
[EMAIL PROTECTED]


----- Original Message -----
From: "amit gupta" <[EMAIL PROTECTED]>
To: "Mart� Maria" <[EMAIL PROTECTED]>
Sent: Friday, July 19, 2002 3:22 AM
Subject: Thank You


> Dear Sir
>         Thank You very much for your kind help.
>         But I want to make a program that generates profiles.So,I
> need your kind help again even after you told me that it is not
> documented.Please try to explain me.I thank you again for giving
> your precious time to me.
>         Waiting for your reply
>                             Yours Sincerely
>                              Amit Gupta
>
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to