AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2000.10.19 19:27 "reading LAB files", by Michael O'Rourke
2000.10.19 21:11 "Re: reading LAB files", by Joris Van Damme
2000.10.20 08:11 "RE: reading LAB files", by Mart? Mar?ay7WE=
2000.10.20 18:20 "Re: reading LAB files", by Joris Van Damme
2000.10.20 19:02 "RE: reading LAB files", by Mart? Mar?ay7WE=
2000.10.20 22:25 "RE: reading LAB files", by Bill Radcliffe

2000.10.19 19:27 "reading LAB files", by Michael O'Rourke

I seem to be having trouble reading LAB files.

I have an LAB file where Photshop show the first pixel as (55,22,-10).

When I read it into an unsigned char array with ReadScanline, I get (140, 22, 146) which maps to (-116, 22, -10) when typecast to signed chars.

So, what's up with the -116? Does libtiff do something special to LAB files? I grep'd the code, but didn't seem to find anything.

Michael