Hi Peter,

[...] I thought of  defining the following,

#define TYPE_CMY_DBL       (COLORSPACE_SH(PT_CMY)|CHANNELS_SH(3)| BYTES_SH(0))

But it did not work [...]

It works to me... at least using 1.15.  But at that point, and since the error 
message says:

"Output  profile is operating on wrong colorspace"

Have you double checked the profile is really operating on CMY space? Maybe you are trying to do that with a CMYK profile? If the profile is correctly using CMY, please give a try to 1.15, chances are that is already fixed.http://www.littlecms.com/lcms-1.15.tar.gz

If none works, please send me the profile and I will take a look.

Regards,
--
Marti Maria
The littlecms project.
www.littlecms.com



----- Original Message ----- From: "Peter" <[EMAIL PROTECTED]>
To: "Lcms Liste" <lcms-user@lists.sourceforge.net>
Sent: Saturday, August 20, 2005 5:52 AM
Subject: [Lcms-user] Need to define CMY double


Hello Marti,

I have a question here, I am in need of convertion Lab to CMY but in double value. The nearest type would be TYPE_CMYK_DBL. I thought of defining the following,

#define TYPE_CMY_DBL (COLORSPACE_SH(PT_CMY)|CHANNELS_SH(3)| BYTES_SH(0))

But it did not work, error message is "lcms: Error #12288; Output profile is operating on wrong colorspace". Is it possible to add TYPE_CMY_DBL in lcms ?

Right now, I am try to use TYPE_CMY_16, convert the 16bit integer value back to double.


Best Regards,

Peter


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.9/72 - Release Date: 14/08/2005




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.9/72 - Release Date: 14/08/2005



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to