Re: [Lcms-user] RGB to RGB transform with 16bit CLut

2011-09-01 Thread Tim Ruddick
A-ha! Device _link_ profile — yes that makes sense. See: I was indeed doing something stupid and obviously wrong :-) Many thanks! Tim. On Aug 25, 2011, at 9:16 PM, Graeme Gill wrote: > Tim Ruddick wrote: >> I'm sure I'm doing something stupid and obviously wrong, but I'm not at all >> sure wha

Re: [Lcms-user] RGB to RGB transform with 16bit CLut

2011-08-26 Thread Kai-Uwe Behrmann
Am 25.08.11, 11:13 -0700 schrieb Tim Ruddick: > I'm trying to figure out how to apply a 3D color lookup table to a source > image in 8-bit sRGB space to result in a new image also in 8-bit sRGB space. > With the identity curves in place, it saves a file, but the file doesn't > appear to be useab

Re: [Lcms-user] RGB to RGB transform with 16bit CLut

2011-08-26 Thread Graeme Gill
Tim Ruddick wrote: > I'm sure I'm doing something stupid and obviously wrong, but I'm not at all > sure what. Can anyone help? If you want to do RGB->RGB, then you need to create and use a device _link_ profile. In contrast, device profiles do RGB->PCS and PCS->RGB, abstract profiles do PCS->PC

[Lcms-user] RGB to RGB transform with 16bit CLut

2011-08-25 Thread Tim Ruddick
I'm trying to figure out how to apply a 3D color lookup table to a source image in 8-bit sRGB space to result in a new image also in 8-bit sRGB space. After poking around the lcms2.2 codebase (and Google) for some examples to follow, here's what I have so far (error handling omitted for brevity)