Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas025.isp.belgacom.be (localhost [127.0.0.1])
        by inav012.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id j88KsCGs015964
        for <joris.at.lebbeke@skynet.be>; Thu, 8 Sep 2005 22:54:12 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx011.isp.belgacom.be (inmx011.isp.belgacom.be [195.238.3.50])
        by inas025.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id j88Ks3Lg002262
        for <joris.at.lebbeke@skynet.be>; Thu, 8 Sep 2005 22:54:04 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx011.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j88KruAl011507
        for <joris.at.lebbeke@skynet.be>; Thu, 8 Sep 2005 22:53:57 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
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 j88KncxS012126;
	Thu, 8 Sep 2005 16:49:57 -0400
Received: from outmx021.isp.belgacom.be (outmx021.isp.belgacom.be
	[195.238.2.202])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id j88KnZl7012122
	for <tiff@lists.maptools.org>; Thu, 8 Sep 2005 16:49:36 -0400
Received: from outmx021.isp.belgacom.be (localhost [127.0.0.1])
	by outmx021.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with
	ESMTP id j88KnXvv001388
	for <tiff@lists.maptools.org>; Thu, 8 Sep 2005 22:49:34 +0200
	(envelope-from <joris.at.lebbeke@skynet.be>)
Received: from dfgrrxsknr4e (147-178.245.81.adsl.skynet.be [81.245.178.147])
	by outmx021.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP
	id j88KnPeM001327; Thu, 8 Sep 2005 22:49:25 +0200
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <002c01c5b4b6$d6cb4360$93b2f551@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: "Philip Watkinson" <pwatkins@crawfordtech.com>, <tiff@lists.maptools.org>
References: <000201c5b4a9$545c3950$4500a8c0@MOJO>
Subject: Re: [Tiff] creating JPEG file 
Date: Thu, 8 Sep 2005 22:49:41 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
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
X-UIDL: 000000000023ceae.00000bcc
X-MSP-STORE: Thu, 08 Sep 2005 22:54:13 +0200
Status:   

Philip,

Philip Watkinson wrote:
> 1. There can be 1 or more tiles for each image.
> 2. For each tile, there are 4 planes. Each plane corresponds to the
> components in the CYMK colour space.
> 3. The data for each plane is JPEG encoded.
>
> Using Libtiff 3.7.1, is it possible to create a single JPEG image
> file? If so, is there sample code available?

Is decoding and subsequent recoding an option? Or do you seek to do this
losslessly?

If the first is the case, then yes, this should be feasable.

If the second is the case, then there is no easy solution. To do it,
you'd have to sink down to the lowest level of jpeg compressed data
organisation, I think, below even the marker stuff, up to the DCT stuff
or something, perhaps. Possible Guido is able to comment on that, since
I guess he did stuff on the same level before. (See
http://jpegclub.org/.)

BTW, I would very much appreciate receiving such an image. Is it
possible to send on to my personal e-mail address?


Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html

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