Return-Path: owner-tiff@olympiakos.com
Return-Path: <owner-tiff@olympiakos.com>
Received: from localhost (localhost [127.0.0.1])
	by at1895.spb.edu (8.12.1/8.12.1/Debian -5) with ESMTP id g2Q8PX7r027286
	for <dron@localhost>; Tue, 26 Mar 2002 11:25:41 +0300
Received: from eudoramail.com [209.185.123.45]
	by localhost with POP3 (fetchmail-5.9.0)
	for dron@localhost (single-drop); Tue, 26 Mar 2002 11:25:41 +0300 (MSK)
Received: from gate7.olympiakos.com ([64.32.199.150]) by shared1-mail.whowhere.com; Mon Mar 25 23:45:30 2002
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id CAA15089;
	Tue, 26 Mar 2002 02:25:35 -0500
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Tue, 26 Mar 2002 02:21:59 -0500
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id CAA15065
	for tiff-outgoing; Tue, 26 Mar 2002 02:21:58 -0500
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from sss.pgh.pa.us (root@[192.204.191.242])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id CAA15062
	for <tiff@olympiakos.com>; Tue, 26 Mar 2002 02:21:57 -0500
Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1])
	by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g2Q7LTS23920;
	Tue, 26 Mar 2002 02:21:29 -0500 (EST)
To: "Michael O'Rourke" <morourke@adobe.com>
cc: tiff@olympiakos.com
Subject: Re: TIFF w/JPEG to JPEG file? 
In-reply-to: <03dd01c1d426$259a4ec0$480219ac@pigeon> 
References: <03dd01c1d426$259a4ec0$480219ac@pigeon>
Comments: In-reply-to "Michael O'Rourke" <morourke@adobe.com>
	message dated "Mon, 25 Mar 2002 11:54:42 -0600"
Date: Tue, 26 Mar 2002 02:21:29 -0500
Message-ID: <23917.1017127289@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
Sender: owner-tiff@olympiakos.com
Precedence: bulk
Status: RO
Content-Length: 790
Lines: 17

"Michael O'Rourke" <morourke@adobe.com> writes:
> If I have Tiff files with Jpeg compression (in one strip), can the jpeg be
> stripped out without decompression and recompression into a jpeg file? I see
> there is a JPEG_TABLES tag and I'm guessing that the info is in such a
> different format in the Tiff file that maybe this cannot be done?

It's theoretically doable in most cases.  See 
ftp://ftp.uu.net/graphics/jpeg/TIFFTechNote2.txt.gz
for an excruciatingly complete discussion of the pitfalls.

If you're looking for canned source code, I'm afraid I don't have any.

			regards, tom lane
			organizer, Independent JPEG Group

To subscribe or unsubscribe email tiff-request@olympiakos.com with subscribe
or unsubscribe in the email body.  Libtiff home page: http://www.libtiff.org

