Return-Path: <tiff-admin@remotesensing.org>
Received: from jay.skynet.be (jay.skynet.be [195.238.3.234])
        by twentyeight.skynet.be (8.12.9/8.12.9/Skynet-MAILSTORE-2.14) with ESMTP id i0JJQm5v023723
        for <joris.at.lebbeke@skynet.be>; Mon, 19 Jan 2004 20:26:54 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com ([208.24.120.42])
        by jay.skynet.be (8.12.9/8.12.9/Skynet-IN-2.32) with ESMTP id i0JJMlm1024662
        for <joris.at.lebbeke@skynet.be>; Mon, 19 Jan 2004 20:22:47 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com (localhost.localdomain [127.0.0.1])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i0JJGPl08660;
	Mon, 19 Jan 2004 14:16:25 -0500
Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i0JJFbl08641
	for <tiff@remotesensing.org>; Mon, 19 Jan 2004 14:15:37 -0500
Received: from sevhome (clt74-35-238.carolina.rr.com [24.74.35.238])
	by ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id i0JJFXTf021898
	for <tiff@remotesensing.org>; Mon, 19 Jan 2004 14:15:33 -0500 (EST)
Message-Id: <4.2.0.58.20040119141111.003655f8@mail.cerious.com>
X-Sender: pcrews@mail.cerious.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 
To: tiff@remotesensing.org
From: Phillip Crews <pcrews@cerious.com>
Subject: Re: [Tiff] libtiff and CALS files...
In-Reply-To: <4008201A.5050404@techrg.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by yoda.imagelinks.com id i0JJFbl08641
Sender: tiff-admin@remotesensing.org
Errors-To: tiff-admin@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Post: <mailto:tiff@remotesensing.org>
List-Subscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
List-Id: TIFF and libtiff discussion <tiff.remotesensing.org>
List-Unsubscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://remotesensing.org/pipermail/tiff/>
Date: Mon, 19 Jan 2004 14:15:41 -0500
X-UIDL: 64df8a67ffaf5100aa508de34932a121

At 12:32 2004·01·16 -0500, Bill Hess wrote:
>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

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://remotesensing.org/mailman/listinfo/tiff
