Hi Marti,
Question was:
> I am writing a Pascal RIP software and have to create
transformations for
> proofing and if necessary add ink limiting.
> In some circumstances there is the need to convert XYZ with
proofing and
> ink limiting to CMYK. But that generates an LCMS error.
> I am working still with Lcms v1.13.
The Error #3000 "Invalid PCS" raises by calling
"cmsCreateMultiprofileTransform".
If I create same kind of transformations from RGB to CMYK or from
CMYK to CMYK, there raises no error.
Is this in v1.18 or later the same?
What I do wrong and what could be a solution?
I try to simplify the code, sorry.
// Creating proof tansform without InkLimit.
Proof1_CMYK_from_XYZ_TRANSFORM := cmsCreateProofingTransform(
Input_XYZ_PROFILE, TYPE_XYZ_16,
Output_CMYK_PROFILE, TYPE_CMYK_16,
cmsCreateXYZProfile,
Intent,
INTENT_ABSOLUTE_COLORIMETRIC, 0);
PROFILE_ary[0] := cmsTransform2DeviceLink
( Proof_CMYK_from_XYZ_TRANSFORM, 0);
PROFILE_ary[1] := cmsCreateInkLimitingDeviceLink( icSigCmykData,
Limit);
// Generate proof transform with InkLimit.
Proof2_CMYK_from_XYZ_TRANSFORM := cmsCreateMultiprofileTransform(
@PROFILE_ary, 2, TYPE_XYZ_16,
TYPE_CMYK_16, Intent, 0);
Regards,
Wolfgang
Am 05.09.2009 um 16:37 schrieb Marti.Maria:
Hi,
That may be a bug, but it is hard to follow the code for me. May I
ask you
to try to reproduce the issue by using icclink? That would make
easier to
uncover the source of the mistake.
Thanks for reporting.
Regards
Marti.
On 01/09/2009 14:42:26, Wolfgang Huß (lcms-li...@pjannto.com) wrote:
> Hi All,
>
>
> I am writing a Pascal RIP software and have to create
transformations for
> proofing and if necessary add ink limiting.
> In some circumstances there is the need to convert XYZ with
proofing and
> ink limiting to CMYK. But that generates an LCMS error.
> I am working still with Lcms v1.13.
> The code is:
>
>
> v2print_w32_g_ICC_Input_XYZ_cmsHPROFILE := cmsCreateXYZProfile;
>
>
> // Creating proof tansform.
> v2print_w32_g_ICC_Print_CMYK_from_XYZ_cmsHTRANSFORM :=
> cmsCreateProofingTransform(
> v2print_w32_g_ICC_Input_XYZ_cmsHPROFILE, TYPE_XYZ_16,
> v2print_w32_g_ICC_Print_cmsHPROFILE, TYPE_CMYK_16,
> v2print_w32_g_ICC_Print_Proof_cmsHPROFILE,
> Ord( v2print_w32_g_ICC_Print_Intent),
> INTENT_ABSOLUTE_COLORIMETRIC, 0);
--
Pjannto Software e.K.
Steinburger Straße 38
22527 Hamburg, Germany, European Union
Tel.: +49.40. 38 03 89 - 36
E-Mail: wolle.h...@pjannto.com
Internet: http://www.pjannto.com
AG Hamburg HRA 89770
Steuernummer: 02/125/02502; USt.-IdNr.: DE201961374
Unsere Angebote sind grundsätzlich frei bleibend.
Unsere Preise verstehen sich zzgl. gesetzlicher USt..
**** DISCLAIMER ****
"This e-mail and any attachments thereto may contain information
which is confidential and/or protected by intellectual property
rights and are intended for the sole use of the recipient(s) named
above.
Any use of the information contained herein (including, but not
limited to,
total or partial reproduction, communication or distribution in any
form)
by persons other than the designated recipient(s) is prohibited.
If you have received this e-mail in error, please notify the sender
either
by telephone or by e-mail and delete the material from any computer.
Thank you for your cooperation."
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user