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
------------------------------------------------------------------------------
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