Hi,

> Transformation fails.What's the problem?

Because first parameter of cmsCreateTransform 
should be a handle to an open profile. 
You are using something else.

Hope that helps
Marti

Original Message:
-----------------
From: Marko Vranić mvranic1...@gmail.com
Date: Wed, 8 Jun 2011 15:31:09 +0200
To: lcms-user@lists.sourceforge.net
Subject: [Lcms-user] named color space


Hi,

If I try to do this transformation




cmsCIEXYZ whitePointXYZ = { 0.3127 , 0.3290 , 0.3583 };
cmsCIExyY whitePointxyY;
cmsXYZ2xyY( &whitePointxyY , &whitePointXYZ);

cmsToneCurve* gamma=cmsBuildGamma( 0, 2.2 );
cmsHPROFILE  GRAY = cmsCreateGrayProfile( &whitePointxyY , gamma );
cmsHTRANSFORM transformation =cmsCreateTransform( spotList
,TYPE_NAMED_COLOR_INDEX,GRAY,TYPE_GRAY_16 , INTENT_PERCEPTUAL ,0);


Transformation fails.What's the problem?

Marko


--------------------------------------------------------------------
mail2web.com – Enhanced email for the mobile individual based on Microsoft®
Exchange - http://link.mail2web.com/Personal/EnhancedEmail



------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to