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: marti.ma...@littlecms.com [mailto:marti.ma...@littlecms.com]
Sent: 05 March 2014 19:38
To: Freer, David
Cc: lcms-user@lists.sourceforge.net
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
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to