Received: from mailgate002.isp.belgacom.be (mailgate002.isp.belgacom.be [195.238.6.87])
	by maildelivery011.isp.belgacom.be (Postfix) with ESMTP id 3C9CE598015
	for <joris.at.lebbeke@skynet.be>; Tue, 29 Apr 2008 15:04:42 +0200 (CEST)
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; 29 Apr 2008 15:04:22 +0200
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 m3TCfBim024720;
	Tue, 29 Apr 2008 08:42:53 -0400
Received: from bay0-omc3-s41.bay0.hotmail.com (bay0-omc3-s41.bay0.hotmail.com
	[65.54.246.241])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m3TCf9qm024717
	for <tiff@lists.maptools.org>; Tue, 29 Apr 2008 08:41:09 -0400
Received: from BAY139-W37 ([64.4.43.72]) by bay0-omc3-s41.bay0.hotmail.com
	with Microsoft SMTPSVC(6.0.3790.3959); 
	Tue, 29 Apr 2008 05:41:06 -0700
Message-ID: <BAY139-W37DF68E6EFD53A060A28C1E3D90@phx.gbl>
X-Originating-IP: [217.37.215.53]
From: Andrew Wan <andrew_wan1980@hotmail.com>
To: <tiff@lists.maptools.org>
Date: Tue, 29 Apr 2008 12:41:06 +0000
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 29 Apr 2008 12:41:06.0584 (UTC)
	FILETIME=[4B06B980:01C8A9F6]
Subject: [Tiff] TIFF split & merge
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>
Content-Type: multipart/mixed; boundary="===============1258994376=="
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00002c48
X-MSP-STORE: Tue, 29 Apr 2008 15:03:29 +0200
Status:   

--===============1258994376==
Content-Type: multipart/alternative;
	boundary="_1f74b686-cd69-492d-8e1b-900f33e7c9b4_"

--_1f74b686-cd69-492d-8e1b-900f33e7c9b4_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I successfully wrote a C program to split & merge 2 large tiff files (where=
 one of the original tiff file contains odd pages and the other contains ev=
en pages). Tools I used were tiffsplit & tiffcp.
=20
The resulting output tiff file is quite large, over 300MB, but at least the=
 directories are sorted in order (page 0, page 1, page 2, etc.). Now I want=
 to shrink this to a reasonable size. I tried using tiff2pdf on the output.=
tif file and guess what. It created the PDF pages in date order... so now a=
m back to the original problem (page 0, page 2, page 4, page 6.... page 1, =
page 3, page 5, page 7...). Is there any way to make tiff2pdf create the PD=
F in directory order?
=20
Second query is: using the splitted tif files I thought to tiffcp convert e=
ach tiff into jpeg. So I used
=20
 tiffcp.exe -c jpeg:r 000.tif 000.jpg
=20
but I get this message:
=20
JPEGSetupEncode: RowsPerStrip must be multiple of 8 for JPEG.000.jpg: Error=
, can't write strip 0.
=20
=20
Can someone enlighten me in what this means and how to solve this? Am a new=
bie to this jpeg/tiff inner-tech.
=20
Cheers
_________________________________________________________________
Make i'm yours.=A0 Create a custom banner to support your cause.
http://im.live.com/Messenger/IM/Contribute/Default.aspx?source=3DTXT_TAGHM_=
MSN_Make_IM_Yours=

--_1f74b686-cd69-492d-8e1b-900f33e7c9b4_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class=3D'hmmessage'>I successfully wrote a C program to split &amp; m=
erge 2 large tiff files (where one of the original tiff file contains odd p=
ages and the other contains even pages). Tools I used were tiffsplit &amp; =
tiffcp.<BR>
&nbsp;<BR>
The resulting output tiff file is quite large, over 300MB, but at least the=
 directories are sorted in order (page 0, page 1, page 2, etc.).&nbsp;Now I=
 want to shrink this to a reasonable size. I tried using tiff2pdf on the ou=
tput.tif file and guess what. It created the PDF pages in date order... so =
now am back to the original problem (page 0, page 2, page 4, page 6.... pag=
e 1, page 3, page 5, page 7...). Is there any way to make tiff2pdf create t=
he PDF in directory order?<BR>
&nbsp;<BR>
Second query is: using the splitted tif files I thought to tiffcp convert e=
ach tiff into jpeg. So I used<BR>
&nbsp;<BR>
&nbsp;tiffcp.exe -c jpeg:r 000.tif 000.jpg<BR>
&nbsp;<BR>
but I get this message:<BR>
&nbsp;<BR>
JPEGSetupEncode: RowsPerStrip must be multiple of 8 for JPEG.<BR>000.jpg: E=
rror, can't write strip 0.<BR>
&nbsp;<BR>
&nbsp;<BR>
Can someone enlighten me in what this means and how to solve this? Am a new=
bie to this jpeg/tiff inner-tech.<BR>
&nbsp;<BR>
Cheers<BR><br /><hr />Make i'm yours. <a href=3D'http://im.live.com/Messeng=
er/IM/Contribute/Default.aspx?source=3DTXT_TAGHM_MSN_Make_IM_Yours' target=
=3D'_new'>Create a custom banner to support your cause.</a></body>
</html>=

--_1f74b686-cd69-492d-8e1b-900f33e7c9b4_--

--===============1258994376==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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