Am 12.03.04, 11:01 -0000 schrieb [EMAIL PROTECTED]:

> Hi,
>
> Glad to see lcms worked for you. For the linearization, there is a ready-to
> use function doing exactly that:
>
> cmsCreateLinearizationDeviceLink(icColorSpaceSignature ColorSpace,
>                               LPGAMMATABLE TransferFunctions[])

Yes done like this and saved with
_cmsSaveProfile ()
see attchment.

> It creates a virtual device-link, working in "ColorSpace" (icSigCmykData in
> your case) and applying "TransferFuntions" 1-D linearization ramps. You can
> then link this profile to the output profile using

Yes, I can handle the tables. Till here all works well.

> cmsCreateMultiprofileTransform. Note that the linearization should be done
> AFTER the otuput profile, if you feeded the profililer with linearized data.

Hmm ..
The first time I print the linearisation device link is in
cmsCreateMultiprofileTransform the first profile the second is NULL. This
works. Then I save the linearisation profile.

my problem:
After the profile creation I like to reload the linearisation profile and
therefore do an
  cmsOpenProfileFromFile (hLinear);   - which works
and an
  xform = cmsCreateMultiprofileTransform (multi, nr_of_profiles,
                                          wInput, wOutput, flags);
with hLinear in multi[2].

Here lcms quits with: error 12288 Unknown output format - this is probably
due to an memory error. I could not find out were. lcms tries to load the
tables and gives following messages via valgrind:


  gamma[0] = cmsReadICCLut( hLinear, icSigAToB0Tag);
gives something back but I can not see the tables.

Can You take a look at the link_profile?

Kai-Uwe


> Hope this helps,
> Marti.
>
>
> Kai-Uwe Behrmann <[EMAIL PROTECTED]> said:
>
> > Hi,
> >
> > first thanks for the quality work on the lcms library, Marti! I showed an
> > calibrated print on the Chemnitzer Linuxtag and was unable to detect any
> > failures on an modern state of art printer. Gray cloud regions were very
> > constant, very much better than the manufacturer provided sample prints.
> > Pale regions were shown very detailed.
> > (My source images came from an sinar back and from RVP slides read in by
> > an imacon 646. Dont know how to get better real world samples.)
> >
> > Now to my questions:
> > I did an calibration of my printer and want to merge the linearisation of
> > the RIP, I did before profile generation, back to the generated output
> > profile.
> >
> > Did somebody manage to integrate an device link profile, from
> > linearisation of the printer, into the final PCS-CMYK separation profile
> > with lcms?
> >
> > I was able to put the device link profile cmyk->cmyk in an
> > cmsMultiProfileTransform. Writing it out as profile means to obtain an
> > Lab/Lab device link.
> > The linearisation profile I created with lcms has the A2B0/mft2 tag.
> > Unfortunately the generated profile has this tag as well but as cmyk->Lab.
> > During the linearisation I created gamma tables in cmyk mode, cmyk->cmyk.
> >
> > I tried to read the tag of the separation profile into an LPGAMMATABLE, in
> > order to merge the two gammas and write it back to the separation profile,
> > but failed to load the A2B0 tag of booth profiles. Even so it seems
> > difficult as the cmyk/cmyk and cmyk/Lab gamma tables dont match. I dont
> > know how to proceede.
> >
> > Till now I tried to use lcms functions only. Is it possible to do, what
> > I want, with the lcms library interface or do I need other methods outside
> > lcms to finish the merge.
> >
> > Any help is appreciated. As well I would like to know about commercial
> > tools to finish the task and give the profiles to the public.
> >
> > I like to release the code and people are already waiting for it :)
> > Only they dont like to select each time two profiles for one printer they
> > said to me.
> >
> > thanks
> > Kai-Uwe
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > GenToo technologies. Learn everything from fundamentals to system
> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > Lcms-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/lcms-user
> >
>
>
>
> --
>
>
>

Attachment: cinepaint_link_temp.icm
Description: Binary data

Reply via email to