AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.01.16 17:32 "[Tiff] libtiff and CALS files...", by Bill Hess
2004.01.19 15:03 "Re: [Tiff] libtiff and CALS files...", by Bob Friesenhahn
2004.01.20 12:58 "Re: [Tiff] libtiff and CALS files...", by Bill Hess
2004.01.19 19:15 "Re: [Tiff] libtiff and CALS files...", by Phillip Crews
2004.01.20 13:44 "[Tiff] libtiff and CALS files...", by Finlayson, Ross

2004.01.19 19:15 "Re: [Tiff] libtiff and CALS files...", by Phillip Crews

Can the libtiff tools work with CALS files?

If not, are there any other open source libs out there for CALS? Any good references on the web describing the differences between TIFF and CALS files???

IIRC, CALS Type 1 files are CCITT Group 4 encoded, with their own (2KB?) header. I wrote some code at one point that would retrieve the pertinent values (width, height, resolution, etc) from the CALS header, and create a temporary TIFF file using these parameters and use TIFFWriteRawStrip to write the Group 4 data to the file. Then I used libtiff to read the temporary TIFF file and decompress the data.

I don't have any experience with other than Type 1 CALS files.

- Phillip