Thanks! That was it.

On Thu, Aug 5, 2010 at 4:01 PM, Kai-Uwe Behrmann <k...@gmx.de> 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.
>> Unfortunately my output R, G, and B are always 0.
>>
>
> You put the floats into a unsigned char with 8 bit. Try TYPECMYK_DBL
> instead of TYPE_CMYK_8. Same for TYPE_BGR_8, use TYPE_RGB_DBL .
>
> hope it helps,
> Kai-Uwe Behrmann
> --
> developing for colour management www.behrmann.name + www.oyranos.org
>
>


-- 
Matt Long
Lead Developer
617-329-1001
crocodoc.com
webnotes.net
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to