[Lcms-user] Noob needs help on ColorSpaces

2005-12-07 Thread Mat Ballard
g'day everyone, I'm using lcms via Delphi to perform to separate to CMYK. Sometimes it works, and sometimes gives a fatal error: Error #3000; Output profile is operating on wrong colorspace resulting in abrupt program termination. To me the message suggests that the problem is the Color Space

Re: [Lcms-user] cmsReadICCText appears to be unsafe ...

2005-12-07 Thread Marti
Marti, can you either prove this func is safe, or make it safe :-) You are right, this is not safe. I have added this to the bug list. Thanks fort let me know. Regards Marti. - Original Message - From: "Louis Solomon [SteelBytes]" <[EMAIL PROTECTED]> To: "lcms-user" Sent: Monda

Re: [Lcms-user] lut in an icc profile

2005-12-07 Thread Marti
Hi, You can do that, but it is not so easy. Let's assume you have a colormap operating in RGB -> RGB. You could embed this colormap in a devicelink profile. This can be done by using the proper functions, see the examples mktiff8.c, mkcmy.c, itufax.c and mkgrayer.c in the samples directory. Bu

Re: [Lcms-user] embedding internal profiles

2005-12-07 Thread Marti
This works well, but when we use the internal profiles we don't know what to do. There is no disk file to copy, so what do we do? Is the some function or other way to create something suitable for embedding. Hi, Just use _cmsSaveProfileToMem() as suggested by Kai-Uwe. BTW, 1.15 should solve

Re: [Lcms-user] Noob needs help on ColorSpaces

2005-12-07 Thread Marti
Hi, Can sometime indicate what I'm doing wrong, and/or how I can identify valid output profiles to use with CMYK separations. The format descriptor holds more information that just the colorspace, it also has the encoding, extra channels, planar configuration, bytes per sample, etc. You cou

Re: [Lcms-user] embedding internal profiles

2005-12-07 Thread Casper Boemann
On Wednesday 07 December 2005 11:16, Marti wrote: > > This works well, but when we use the internal profiles we don't know what > > to > > do. There is no disk file to copy, so what do we do? Is the some function > > or > > other way to create something suitable for embedding. > > Hi, > > Just use