Received: from mailgate002.isp.belgacom.be (mailgate002.isp.belgacom.be [195.238.6.87])
	by maildelivery012.isp.belgacom.be (Postfix) with ESMTP id 2392D25400C
	for <joris.at.lebbeke@skynet.be>; Tue, 18 Mar 2008 12:19:06 +0100 (CET)
Authentication-Results: in.mx.skynet.be; dkim=neutral (message not signed) header.i=none
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 18 Mar 2008 12:19:05 +0100
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m2IAwnXf007940;
	Tue, 18 Mar 2008 07:00:27 -0400
Received: from zynlfw01.zylab.com (mx.zylab.com [194.178.9.130])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m2IAwgJ2007937
	for <tiff@lists.maptools.org>; Tue, 18 Mar 2008 06:58:42 -0400
Received: from zynlms01.ZyLAB.WAN (zynlms01.zylab.wan [192.168.1.10])
	by zynlfw01.zylab.com (Postfix) with ESMTP id 8777283C;
	Tue, 18 Mar 2008 11:58:39 +0100 (CET)
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="UTF-8"
Subject: Re: [Tiff] encapsulate jpeg to TIFF without de-compressing
	andre-compressing
Date: Tue, 18 Mar 2008 11:55:45 +0100
Message-ID: <FC840EC0BF7BFA45A0F94548AF36920D020CAA6F@zynlms01.ZyLAB.WAN>
In-Reply-To: <47DF1B02.4070506@realss.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Tiff] encapsulate jpeg to TIFF without de-compressing
	andre-compressing
Thread-Index: AciIly0HbIYiuyDEQsOeAqarCyo9hwATLJSg
References: <FC840EC0BF7BFA45A0F94548AF36920D020CAA6A@zynlms01.ZyLAB.WAN>
	<47DF1B02.4070506@realss.com>
From: "Gerben Vos" <Gerben@ZyLAB.COM>
To: <tiff@lists.maptools.org>
X-MIME-Autoconverted: from base64 to 8bit by duke.maptools.org id
	m2IAwgJ2007937
Cc: 
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
Content-Transfer-Encoding: quoted-printable
X-UIDL: 000000000023ceae.00002b48
X-MSP-STORE: Tue, 18 Mar 2008 12:18:07 +0100
Status: RO

Zhang Weiwu wrote:

> Thanks for the comment. Is there userland tools available for this, or
> do I have to write code? I haven't write any C code for very long time
> since I left school.

Sorry, you'll have to write it yourself, or ask one of us for a
commercial offer...

If you search for "jpeg2tiff" on the Internet, you'll find some tools,
but I know none of them, so I don't know if they do what you want.
(The jpeg2tiff.pl from batch-gimp does NOT do what you want, it
decompresses and re-compresses the image.)

It should be possible to lift the JPEG-analyzing code from
http://www.pdflib.com/download/free-software/jpeg2ps/ and replace its
PostScript-writing back-end with a TIFF-writing one. (But note that
that code has a very restrictive license: it may not be sold or
distributed commercially.)

					Gerben Vos.

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
