Re: [Lcms-user] Help with lcms2 Hello World app

2010-08-05 Thread Matt Long
Thanks! That was it. On Thu, Aug 5, 2010 at 4:01 PM, Kai-Uwe Behrmann wrote: > Am 05.08.10, 14:31 -0400 schrieb Matt Long: > > It takes a path to a CMYK ICC profile and four values for C,M,Y,K as >> command >> line params. Next it transforms that to sRGB and outputs the results. >> Unfortunatel

Re: [Lcms-user] Help with lcms2 Hello World app

2010-08-05 Thread Kai-Uwe Behrmann
Am 05.08.10, 14:31 -0400 schrieb Matt Long: > It takes a path to a CMYK ICC profile and four values for C,M,Y,K as command > line params. Next it transforms that to sRGB and outputs the results. > Unfortunately my output R, G, and B are always 0. You put the floats into a unsigned char with 8 bit.

[Lcms-user] Help with lcms2 Hello World app

2010-08-05 Thread Matt Long
Hello, I'm trying to make very simple hello world app similar to the transicc utility included with the lcms2 source code. It takes a path to a CMYK ICC profile and four values for C,M,Y,K as command line params. Next it transforms that to sRGB and outputs the results. Unfortunately my output R,