Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-r.b-one.net (mx-r.one.com [91.198.169.249])
	by mail9.b-one.net (Postfix) with ESMTP id 86FB0400162
	for <info@awaresystems.be>; Sun,  6 Feb 2011 02:57:08 +0100 (CET)
Received: by mx-r.b-one.net (Postfix, from userid 106)
	id 7D50F32D587B; Sun,  6 Feb 2011 02:57:08 +0100 (CET)
X-Virus-Scanned: by one.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=4 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144]) by
 mx-r.b-one.net (Postfix) with ESMTP id 8175E32D5897 for
 <info@awaresystems.be>; Sun,  6 Feb 2011 02:57:07 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id C9BCC86AF1; Sat,  5 Feb 2011
 20:55:54 -0500 (EST)
Received: from col0-omc1-s1.col0.hotmail.com (col0-omc1-s1.col0.hotmail.com
 [65.55.34.11]) by lists.maptools.org (Postfix) with ESMTP id CF7B38699D for
 <tiff@lists.maptools.org>; Sat,  5 Feb 2011 20:50:29 -0500 (EST)
Received: from COL120-W8 ([65.55.34.7]) by col0-omc1-s1.col0.hotmail.com with
 Microsoft SMTPSVC(6.0.3790.4675); Sat, 5 Feb 2011 17:50:27 -0800
Message-ID: <COL120-W80244472FD051A82243949EE80@phx.gbl>
X-Originating-IP: [72.252.195.177]
From: John Brown <johnbrown105@hotmail.com>
To: <tiff@lists.maptools.org>
Date: Sat, 5 Feb 2011 20:50:28 -0500
Importance: Normal
In-Reply-To: <alpine.GSO.2.01.1102051624160.23068@freddy.simplesystems.org>
References: <COL120-W208B8FD53DCC04B45810B69EE90@phx.gbl>,
 <alpine.GSO.2.01.1102051624160.23068@freddy.simplesystems.org>
MIME-Version: 1.0
X-OriginalArrivalTime: 06 Feb 2011 01:50:27.0698 (UTC)
 FILETIME=[3A7E3520:01CBC5A0]
Subject: Re: [Tiff] Converting single-page TIFFs to multi-page TIFF or PDF
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
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>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org


Bob Friesenhahn wrote:
>
> On Sat, 5 Feb 2011, John Brown wrote:
>>
>> My plan was simply to build a list of pages that belong to one
>> document and then:
>>
>> $tiffcp page1.tif page2.tif ... pageN.tif doc.tif
>> $tiff2pdf -o doc.pdf doc.tif
>>
>> If any of the TIFFs is an OJPEG TIFF, the first command fails
>> with a long message including:
>
> You forgot to tell us what version of libtiff you are using. Of
> course it does make a difference.
>
> Bob
 =

 =

Indeed. Sorry about that. I am using the latest stable version
3.9.4 compiled against  jpeg-8b with MinGW/MSYS on Windows Vista.
 =

The JPEG in question is displayed as a blob by Windows Image
Preview but I can view it with XnView (www.xnview.com).
 =

$ tiffinfo -c -j=A0 -s test-original.tif
TIFFReadDirectory: Warning, test-original.tif: wrong data type 4 for "JpegP=
roc";
=A0tag ignored.
TIFFReadDirectory: Warning, Photometric tag value assumed incorrect, assumi=
ng da
ta is YCbCr instead of RGB.
OJPEGSubsamplingCorrect: Warning, Subsampling tag is not set, yet subsampli=
ng in
side JPEG data [1,1] does not match default values [2,2]; assuming subsampl=
ing i
nside JPEG data is correct.
TIFF Directory at offset 0x8 (8)
=A0 Subfile Type: (0 =3D 0x0)
=A0 Image Width: 716 Image Length: 480
=A0 Resolution: 400, 400 pixels/inch
=A0 Bits/Sample: 8
=A0 Compression Scheme: Old-style JPEG
=A0 Photometric Interpretation: YCbCr
=A0 YCbCr Subsampling: 1, 1
=A0 Orientation: row 0 top, col 0 lhs
=A0 Samples/Pixel: 3
=A0 Rows/Strip: 480
=A0 Planar Configuration: single image plane
=A0 Software: Pixel Translations Inc., PIXTIFF Version 54.1.207
=A0 JpegInterchangeFormat: 520
=A0 JpegInterchangeFormatLength: 408
=A0 JpegQTables: 634 699 699
=A0 JpegDcTables: 768 848 848
=A0 JpegAcTables: 793 872 872
=A0 1 Strips:
=A0=A0=A0=A0=A0 0: [=A0=A0=A0=A0 928,=A0=A0=A0 29221]
 =

Regards,
Alias John Brown.
 		 	   		   		 	   		  =

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