From: Freer, D. <DF...@xe...> - 2014-03-06 10:00:26
|
Hi Marti That’s great thanks. Sadly I’m still using v1.18 as I haven’t got my head around pipelines and stages yet as the legacy code I’m using has lots of CLut processing. Should 5 spot type be available in v1.18 too? Best regards Dave Freer From: Mar...@li... [mailto:Mar...@li...] Sent: 05 March 2014 19:38 To: Freer, David Cc: lcm...@li... Subject: Re: [Lcms-user] lcms type Hi Dave I hope I’m doing this correctly by mass emailing the list. This is the whole point of the mailing list: to share your questions and knowleage with other people. I want to represent a CMYK type with 5 spots. I know that CMYK with 4 spots is (CHANNELS_SH(4)|BYTES_SH(1)|EXTRA_SH(4)) as that works but I can’t get 5 spots to create a transform as below where input and output types are the same, I get an error “Unknown input format†I have tried this and it works to me (using latest GIT code) cmsUInt32Number input_type = (CHANNELS_SH(4)|BYTES_SH(1)|EXTRA_SH(5)) ; cmsHPROFILE hProfile = cmsOpenProfileFromFile(".USWebCoatedSWOP.icc", "r"); cmsHTRANSFORM xform = cmsCreateTransform( hProfile, input_type, hProfile, input_type, INTENT_ABSOLUTE_COLORIMETRIC,0); How do you get the error message? Regards Marti Marti Maria The Little CMS Project http://www.littlecms.com Click here<https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==> to report this email as spam. This message has been scanned for malware by Websense. www.websense.com |