Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas030.isp.belgacom.be (localhost [127.0.0.1])
        by inav014.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k6I2Nj4v014247
        for <joris.at.lebbeke@skynet.be>; Tue, 18 Jul 2006 04:23:45 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx007.isp.belgacom.be (inmx007.isp.belgacom.be [195.238.5.89])
        by inas030.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k6I2Nbjf007225
        for <joris.at.lebbeke@skynet.be>; Tue, 18 Jul 2006 04:23:37 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx007.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k6I2NPio014964
        for <joris.at.lebbeke@skynet.be>; Tue, 18 Jul 2006 04:23:27 +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 k6I1w2pA012484;
	Mon, 17 Jul 2006 21:58:09 -0400
Received: from exprod6og54.obsmtp.com (exprod6og54.obsmtp.com [64.18.1.189])
	by duke.maptools.org (8.12.11/8.12.10) with SMTP id k6I1uDJf012472
	for <tiff@lists.maptools.org>; Mon, 17 Jul 2006 21:56:14 -0400
Received: from source ([192.150.11.134]) by exprod6ob54.postini.com
	([64.18.5.12]) with SMTP; Mon, 17 Jul 2006 18:56:12 PDT
Received: from inner-relay-1.corp.adobe.com ([153.32.1.51])
	by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id
	k6I1sUBl010273
	for <tiff@lists.maptools.org>; Mon, 17 Jul 2006 18:54:30 -0700 (PDT)
Received: from fe2.corp.adobe.com (fe2.corp.adobe.com [10.8.192.72])
	by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id
	k6I1uB4Z003815
	for <tiff@lists.maptools.org>; Mon, 17 Jul 2006 18:56:11 -0700 (PDT)
Received: from namail3.corp.adobe.com ([10.8.192.66]) by fe2.corp.adobe.com
	with Microsoft SMTPSVC(6.0.3790.1830); 
	Mon, 17 Jul 2006 18:56:11 -0700
Received: from 10.0.54.253 ([10.0.54.253]) by namail3.corp.adobe.com
	([10.8.192.66]) via Exchange Front-End Server
	namailhost.corp.adobe.com ([10.8.192.70]) with Microsoft
	Exchange Server HTTP-DAV ; Tue, 18 Jul 2006 01:56:11 +0000
User-Agent: Microsoft-Entourage/11.2.5.060620
Date: Mon, 17 Jul 2006 18:56:46 -0700
Subject: Re: [Tiff] About the tag stripbytecount and stripoffset.
From: Chris Cox <ccox@adobe.com>
To: TIFF <tiff@lists.maptools.org>
Message-ID: <C0E18DEE.36770%ccox@adobe.com>
Thread-Topic: [Tiff] About the tag stripbytecount and stripoffset.
Thread-Index: AcaqDWyaq1745hYAEduAdQAKlZxm+A==
In-Reply-To: <BAY103-DAV53C5634F85B4FBD1FBCE38B630@phx.gbl>
Mime-version: 1.0
X-OriginalArrivalTime: 18 Jul 2006 01:56:11.0842 (UTC)
	FILETIME=[583E6A20:01C6AA0D]
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="===============1266320750=="
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00001889
X-MSP-STORE: Tue, 18 Jul 2006 04:23:49 +0200
Status:   

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--===============1266320750==
Content-type: multipart/alternative;
	boundary="B_3236007407_95269111"

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3236007407_95269111
Content-type: text/plain;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable



All this means is that Wang/Kodak (and by that I assume you mean the
horrible Windows Imaging tools) has recompressed the file and written it ou=
t
in multiple strips, where you originally had it as a single strip.

Now, what=B9s the problem?
This file should still be readable (even if some from Wang tools are not).
Why are you trying to change the stripbytecounts and stripoffsets again?

Chris



On 7/17/06 6:29 PM, "<hotmail>xiaotiger666" <xiaotiger666@hotmail.com>
wrote:

> Hi all:
> =20
>     After My customer eidt tiff with Wang/Kodak ,The edited tiff 's tag
> stripbyecount and stripoffset is chaged.
> =20
>     My question is How can chage the tag stripbyecoutn and stripoffset ag=
ain
> with libtiff ???
> =20
> Wang/Kodak tiff:
> =20
> SubFileType (1 Long): Zero
> ImageWidth (1 Short): 1728
> ImageLength (1 Short): 2329
> BitsPerSample (1 Short): 1
> Compression (1 Short): Group 3 Fax (aka CCITT FAX3)
> Photometric (1 Short): MinIsWhite
> FillOrder (1 Short): Lsb2Msb
> StripOffsets (16 Long): 492, 4247, 9366, 15933, 23021, 29447, 36562,...
> Orientation (1 Short): TopLeft
> SamplesPerPixel (1 Short): 1
> RowsPerStrip (1 Short): 146
> StripByteCounts (16 Long): 3755, 5119, 6567, 7088, 6426, 7115, 6581,...
> XResolution (1 Rational): 204
> YResolution (1 Rational): 196
> Group3Options (1 Long): 4
> ResolutionUnit (1 Short): Inch
> Software (25 ASCII): Oi/GFS, writer v00.06.02
> 32934 (0 Long):=20
> Pay attention to : stripOffsets and stripbytecount.
> ////////////////////////////////////////////////////////////////////////
> Before My customer edited the tiff with Wang/Kodak .
> =20
> SubFileType (1 Long): Page
> ImageWidth (1 Short): 1728
> ImageLength (1 Short): 2320
> BitsPerSample (1 Short): 1
> Compression (1 Short): Group 3 Fax (aka CCITT FAX3)
> Photometric (1 Short): MinIsWhite
> FillOrder (1 Short): Lsb2Msb
> StripOffsets (1 Long): 8
> Orientation (1 Short): TopLeft
> SamplesPerPixel (1 Short): 1
> RowsPerStrip (1 Short): 2320
> StripByteCounts (1 Long): 72985
> XResolution (1 Rational): 204
> YResolution (1 Rational): 196
> PlanarConfig (1 Short): Contig
> Group3Options (1 Long): 0
> ResolutionUnit (1 Short): Inch
> PageNumber (2 Short): 0, 1
> Software (11 ASCII): ReeDa_Tiff
> DateTime (20 ASCII): 2005:01:01 10:00:00
> BadFaxLines (1 Long): 0
> CleanFaxData (1 Short): 0
> /////////////////////////////////////////////////////////////////////////=
/////
> ////
> =20
> The tag stripbytecount is changed  from 72985  to 16 Long): 3755, 5119, 6=
567,
> 7088, 6426, 7115, 6581,...
> and the tag stripoffsets is changed  from 2320 to (16 Long): 3755, 5119, =
6567,
> 7088, 6426, 7115, 6581,...
> =20
>=20
>=20
>=20
>=20
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/



--B_3236007407_95269111
Content-type: text/html;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

<HTML>
<HEAD>
<TITLE>Re: [Tiff] About the tag stripbytecount and stripoffset.</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:12.0px'><BR>
<BR>
All this means is that Wang/Kodak (and by that I assume you mean the horrib=
le Windows Imaging tools) has recompressed the file and written it out in mu=
ltiple strips, where you originally had it as a single strip.<BR>
<BR>
Now, what&#8217;s the problem?<BR>
This file should still be readable (even if some from Wang tools are not).<=
BR>
Why are you trying to change the stripbytecounts and stripoffsets again?<BR=
>
<BR>
Chris<BR>
<BR>
<BR>
<BR>
On 7/17/06 6:29 PM, &quot;&lt;hotmail&gt;xiaotiger666&quot; &lt;xiaotiger66=
6@hotmail.com&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYL=
E=3D'font-size:12.0px'>Hi all:<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;After My customer eidt tiff with Wang/Kodak ,The ed=
ited tiff 's tag stripbyecount and stripoffset is chaged. <BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;My question is How can chage the tag stripbyecoutn =
and stripoffset again with libtiff ???<BR>
&nbsp;<BR>
Wang/Kodak tiff:<BR>
&nbsp;<BR>
SubFileType (1 Long): Zero<BR>
ImageWidth (1 Short): 1728<BR>
ImageLength (1 Short): 2329<BR>
BitsPerSample (1 Short): 1<BR>
Compression (1 Short): Group 3 Fax (aka CCITT FAX3)<BR>
Photometric (1 Short): MinIsWhite<BR>
FillOrder (1 Short): Lsb2Msb<BR>
StripOffsets (16 Long): 492, 4247, 9366, 15933, 23021, 29447, 36562,...<BR>
Orientation (1 Short): TopLeft<BR>
SamplesPerPixel (1 Short): 1<BR>
RowsPerStrip (1 Short): 146<BR>
StripByteCounts (16 Long): 3755, 5119, 6567, 7088, 6426, 7115, 6581,...<BR>
XResolution (1 Rational): 204<BR>
YResolution (1 Rational): 196<BR>
Group3Options (1 Long): 4<BR>
ResolutionUnit (1 Short): Inch<BR>
Software (25 ASCII): Oi/GFS, writer v00.06.02 <BR>
32934 (0 Long): <BR>
<B>Pay attention to : stripOffsets and stripbytecount.<BR>
</B>///////////////////////////////////////////////////////////////////////=
/<BR>
Before My customer edited the tiff with Wang/Kodak . <BR>
&nbsp;<BR>
SubFileType (1 Long): Page<BR>
ImageWidth (1 Short): 1728<BR>
ImageLength (1 Short): 2320<BR>
BitsPerSample (1 Short): 1<BR>
Compression (1 Short): Group 3 Fax (aka CCITT FAX3)<BR>
Photometric (1 Short): MinIsWhite<BR>
FillOrder (1 Short): Lsb2Msb<BR>
StripOffsets (1 Long): 8<BR>
Orientation (1 Short): TopLeft<BR>
SamplesPerPixel (1 Short): 1<BR>
RowsPerStrip (1 Short): 2320<BR>
StripByteCounts (1 Long): 72985<BR>
XResolution (1 Rational): 204<BR>
YResolution (1 Rational): 196<BR>
PlanarConfig (1 Short): Contig<BR>
Group3Options (1 Long): 0<BR>
ResolutionUnit (1 Short): Inch<BR>
PageNumber (2 Short): 0, 1<BR>
Software (11 ASCII): ReeDa_Tiff <BR>
DateTime (20 ASCII): 2005:01:01 10:00:00 <BR>
BadFaxLines (1 Long): 0<BR>
CleanFaxData (1 Short): 0<BR>
///////////////////////////////////////////////////////////////////////////=
///////<BR>
&nbsp;<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14.0px'><B>The tag stripbyteco=
unt is changed &nbsp;from 72985 &nbsp;to 16 Long): 3755, 5119, 6567, 7088, 6=
426, 7115, 6581,...<BR>
and the tag stripoffsets is changed &nbsp;from </B></SPAN></FONT><B><SPAN S=
TYLE=3D'font-size:12.0px'>2320 to </SPAN></B><SPAN STYLE=3D'font-size:12.0px'>(<=
B>16 Long): 3755, 5119, 6567, 7088, 6426, 7115, 6581,...<BR>
</B> <BR>
<BR>
<BR>
<BR>
<HR ALIGN=3DCENTER SIZE=3D"3" WIDTH=3D"95%"></SPAN></FONT><FONT SIZE=3D"2"><FONT FA=
CE=3D"Monaco, Courier New"><SPAN STYLE=3D'font-size:10.0px'>____________________=
___________________________<BR>
Tiff mailing list: Tiff@lists.maptools.org<BR>
<a href=3D"http://lists.maptools.org/mailman/listinfo/tiff">http://lists.mapt=
ools.org/mailman/listinfo/tiff</a><BR>
<a href=3D"http://www.remotesensing.org/libtiff/">http://www.remotesensing.or=
g/libtiff/</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE=3D"2"><FONT FACE=3D"Monaco, Courie=
r New"><SPAN STYLE=3D'font-size:10.0px'><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>


--B_3236007407_95269111--


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

