Received: from mailgate002.isp.belgacom.be (mailgate002.isp.belgacom.be [195.238.6.87])
	by maildelivery007.isp.belgacom.be (Postfix) with ESMTP id 8FDF045C01C
	for <joris.at.lebbeke@skynet.be>; Wed, 30 Apr 2008 11:52:40 +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; 30 Apr 2008 11:52:39 +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 m3U9VTmf021310;
	Wed, 30 Apr 2008 05:33:14 -0400
Received: from bay0-omc1-s22.bay0.hotmail.com (bay0-omc1-s22.bay0.hotmail.com
	[65.54.246.94])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m3U9VQ2o021307
	for <tiff@lists.maptools.org>; Wed, 30 Apr 2008 05:31:26 -0400
Received: from BAY139-W46 ([64.4.43.81]) by bay0-omc1-s22.bay0.hotmail.com
	with Microsoft SMTPSVC(6.0.3790.3959); 
	Wed, 30 Apr 2008 02:31:25 -0700
Message-ID: <BAY139-W460D18CA25F683A5A2FE23E3D80@phx.gbl>
X-Originating-IP: [217.37.215.53]
From: Andrew Wan <andrew_wan1980@hotmail.com>
To: "Grissom, Ed" <ed.grissom@intergraph.com>
Subject: RE: [Tiff] TIFF split & merge
Date: Wed, 30 Apr 2008 09:31:24 +0000
Importance: Normal
In-Reply-To: <AA6DDFA4E046A24585BC828A78155B4703913199@US-MAIL.ingrnet.com>
References: <BAY139-W37DF68E6EFD53A060A28C1E3D90@phx.gbl>
	<AA6DDFA4E046A24585BC828A78155B4703913199@US-MAIL.ingrnet.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 30 Apr 2008 09:31:25.0064 (UTC)
	FILETIME=[F5865880:01C8AAA4]
Cc: tiff@lists.maptools.org
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="===============0737756690=="
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00002c4d
X-MSP-STORE: Wed, 30 Apr 2008 11:51:27 +0200
Status:   

--===============0737756690==
Content-Type: multipart/alternative;
	boundary="_247b8181-6dc0-44a2-be5f-ba080354f105_"

--_247b8181-6dc0-44a2-be5f-ba080354f105_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

My images are 1275x1743, 150dpi, 24bits.
I tried specifiying -r 8, -r 16, -r 24. and tried opening them as normal ti=
f and none of them were recognised.
=20
Nevermind. I can live with lzw compression. These tif files were made by my=
 HP document scanner/printer. I guess the scanner didn't use any compressio=
n at all!
=20
What I like to know is whether tiff2pdf will create a pdf file from multi-f=
rame/directory tiff file... sorted by frame/directory order... rather than =
date. Do I have to edit the source? (which I still can't get to compile und=
er windows)
=20
=20


Subject: RE: [Tiff] TIFF split & mergeDate: Tue, 29 Apr 2008 08:28:43 -0500=
From: ed.grissom@intergraph.comTo: andrew_wan1980@hotmail.com



Andrew -=20
=20
Tifcp produces TIFF files, not JPEG files (i.e. JFIF format, .jpg extension=
).
=20
It can produce JPEG-compressed TIFF files, but these are not .jpg files.=20
=20
=20
If that is what you want, ....
=20
Are these 8 or 24 bit images ?  =20
Or are they 1-bit/pixel images ? =20
JPEG does not work with 1-bit/pixel data.=20
=20
=20
Also, just like it says, RowsPerStrip must be a multiple of 8 to work.  You=
r input probably has some different value, and since you do not specify a n=
ew value on the command line, it is trying to use that.  =20
=20
Specify a "-r 8" or "-r 16" or something on the command line.=20
=20
=20
=20
-- ed grissom ed.grissom@intergraph.com=20
=20



From: tiff-bounces@lists.maptools.org [mailto:tiff-bounces@lists.maptools.o=
rg] On Behalf Of Andrew WanSent: Tuesday, April 29, 2008 7:41 AMTo: tiff@li=
sts.maptools.orgSubject: [Tiff] TIFF split & merge
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. 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 reaso=
nable size. I tried using tiff2pdf on the output.tif file and guess what. I=
t created the PDF pages in date order... so now am back to the original pro=
blem (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 PDF in directory order? Seco=
nd query is: using the splitted tif files I thought to tiffcp convert each =
tiff into jpeg. So I used  tiffcp.exe -c jpeg:r 000.tif 000.jpg but I get t=
his message: JPEGSetupEncode: RowsPerStrip must be multiple of 8 for JPEG.0=
00.jpg: Error, can't write strip 0.  Can someone enlighten me in what this =
means and how to solve this? Am a newbie to this jpeg/tiff inner-tech. Chee=
rs

Make i'm yours. Create a custom banner to support your cause.=20
_________________________________________________________________
Express yourself wherever you are. Mobilize!
http://www.gowindowslive.com/Mobile/Landing/Messenger/Default.aspx?Locale=
=3Den-US?ocid=3DTAG_APRIL=

--_247b8181-6dc0-44a2-be5f-ba080354f105_
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'><BR>My images are 1275x1743, 150dpi, 24bits.<BR>
I tried specifiying -r 8, -r 16, -r 24. and tried opening them as normal ti=
f and none of them were recognised.<BR>
&nbsp;<BR>
Nevermind. I can live with lzw compression. These tif files were made by my=
 HP document scanner/printer. I guess the scanner didn't use any compressio=
n at all!<BR>
&nbsp;<BR>
What I like to know is whether tiff2pdf will create a pdf file from multi-f=
rame/directory tiff file... sorted by frame/directory order... rather than =
date. Do I have to edit the source? (which I still can't get to compile und=
er windows)<BR>
&nbsp;<BR>
<BR><BR><BR>&nbsp;<BR>
<BLOCKQUOTE>
<HR id=3DEC_stopSpelling>
Subject: RE: [Tiff] TIFF split &amp; merge<BR>Date: Tue, 29 Apr 2008 08:28:=
43 -0500<BR>From: ed.grissom@intergraph.com<BR>To: andrew_wan1980@hotmail.c=
om<BR><BR>
<META content=3D"Microsoft SafeHTML" name=3DGenerator>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>

<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008>Andrew - </SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008>Tifcp produces TIFF files, not JPEG files (i.e.=
 JFIF format, .jpg extension).</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008>It can produce JPEG-compressed TIFF files, but =
these are not .jpg files. </SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008>If that is what you want, ....</SPAN></FONT></D=
IV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008>Are these 8 or 24 bit images ?&nbsp;&nbsp; </SP=
AN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008>Or are they 1-bit/pixel images ?&nbsp; </SPAN><=
/FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008>JPEG does not work with 1-bit/pixel data. </SPA=
N></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008>Also, just like it says, RowsPerStrip must be a=
 multiple of 8 to work.&nbsp; Your input probably has some different value,=
 and since you do not specify a new value on the command line, it is trying=
 to use that.&nbsp;&nbsp; </SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008>Specify a "-r 8" or "-r 16" or something on the=
 command line. </SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3><SPAN cl=
ass=3DEC_750082213-29042008></SPAN></FONT><FONT face=3D"Lucida Console" siz=
e=3D3><SPAN class=3DEC_750082213-29042008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Lucida Console" size=3D3></FONT>&=
nbsp;</DIV>
<DIV>&nbsp;</DIV>
<SPAN lang=3Den-us><FONT face=3D"Lucida Console">-- </FONT></SPAN><BR><SPAN=
 lang=3Den-us><FONT face=3D"Lucida Console">ed grissom</FONT></SPAN> <BR><S=
PAN lang=3Den-us><FONT face=3D"Lucida Console">ed.grissom@intergraph.com</F=
ONT></SPAN> <BR>
<DIV>&nbsp;</DIV><BR>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DEC_OutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR>
<FONT face=3DTahoma size=3D2><B>From:</B> tiff-bounces@lists.maptools.org [=
mailto:tiff-bounces@lists.maptools.org] <B>On Behalf Of </B>Andrew Wan<BR><=
B>Sent:</B> Tuesday, April 29, 2008 7:41 AM<BR><B>To:</B> tiff@lists.maptoo=
ls.org<BR><B>Subject:</B> [Tiff] TIFF split &amp; merge<BR></FONT><BR></DIV=
>
<DIV></DIV>I successfully wrote a C program to split &amp; merge 2 large ti=
ff files (where one of the original tiff file contains odd pages and the ot=
her contains even pages). Tools I used were tiffsplit &amp; tiffcp.<BR>&nbs=
p;<BR>The resulting output tiff file is quite large, over 300MB, but at lea=
st 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 output.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..=
.. page 1, page 3, page 5, page 7...). Is there any way to make tiff2pdf cr=
eate the PDF in directory order?<BR>&nbsp;<BR>Second query is: using the sp=
litted tif files I thought to tiffcp convert each 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 multi=
ple of 8 for JPEG.<BR>000.jpg: Error, can't write strip 0.<BR>&nbsp;<BR>&nb=
sp;<BR>Can someone enlighten me in what this means and how to solve this? A=
m a newbie to this jpeg/tiff inner-tech.<BR>&nbsp;<BR>Cheers<BR><BR>
<HR>
Make i'm yours. <A href=3D"http://im.live.com/Messenger/IM/Contribute/Defau=
lt.aspx?source=3DTXT_TAGHM_MSN_Make_IM_Yours" target=3D_blank>Create a cust=
om banner to support your cause.</A> </BLOCKQUOTE></BLOCKQUOTE><br /><hr />=
Express yourself wherever you are. <a href=3D'http://www.gowindowslive.com/=
Mobile/Landing/Messenger/Default.aspx?Locale=3Den-US?ocid=3DTAG_APRIL' targ=
et=3D'_new'>Mobilize!</a></body>
</html>=

--_247b8181-6dc0-44a2-be5f-ba080354f105_--

--===============0737756690==
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/
--===============0737756690==--
