Return-Path: <tiff-bounces@lists.maptools.org>
Delivered-To: info@awaresystems.be
Received: (qmail 21866 invoked from network); 20 Jun 2008 14:16:15 -0000
Received: from chuck.telenet-ops.be ([195.130.136.1])
          (envelope-sender <tiff-bounces@lists.maptools.org>)
          by angelia.telenet-ops.be (qmail-ldap-1.03) with SMTP
          for <info@awaresystems.be>; 20 Jun 2008 14:16:15 -0000
Received: from waldo.telenet-ops.be (waldo.telenet-ops.be [195.130.136.10])
	by chuck.telenet-ops.be (8.13.1/8.13.1) with ESMTP id m5KEGBIQ023280
	for <info@awaresystems.be>; Fri, 20 Jun 2008 16:16:15 +0200
Received: from localhost (localhost.localdomain [127.0.0.1])
	by waldo.telenet-ops.be (Postfix) with SMTP id 7A2CB1C007
	for <info@awaresystems.be>; Fri, 20 Jun 2008 16:16:15 +0200 (CEST)
Received: from ladon.telenet-ops.be (ladon.telenet-ops.be [195.130.132.50])
	by waldo.telenet-ops.be (Postfix) with ESMTP id 74ABA1C004
	for <info@awaresystems.be>; Fri, 20 Jun 2008 16:16:15 +0200 (CEST)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153])
	by ladon.telenet-ops.be (Postfix) with ESMTP id 10FCF312814
	for <info@awaresystems.be>; Fri, 20 Jun 2008 16:16:14 +0200 (CEST)
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 m5KEE1dG022804;
	Fri, 20 Jun 2008 10:15:07 -0400
Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m5KEDvGP022798
	for <tiff@lists.maptools.org>; Fri, 20 Jun 2008 10:13:57 -0400
Received: by py-out-1112.google.com with SMTP id u77so539274pyb.23
	for <tiff@lists.maptools.org>; Fri, 20 Jun 2008 07:13:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:organization:to:subject:date
	:user-agent:mime-version:content-type:content-transfer-encoding
	:content-disposition:message-id:from;
	bh=ct2OEl3luYl1TmJTJosifGzy85r4zfevw6es0pObUFI=;
	b=fQwLdVW7NKRcL7hxiLtlVmM/bfuCaD93smNKq5GdDjYhavrfZdJHZVwTtyheoOKV3x
	XUP9nC0L3eW8zTXlehM0oNKNuOvQCeYbsTPW3/oC29EHrSAZeWOkxZsktSWjaSMAfsLH
	iiDA3oVxXsmdq78hWPx0gC2DJm9MUXSJBJ5QY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=organization:to:subject:date:user-agent:mime-version:content-type
	:content-transfer-encoding:content-disposition:message-id:from;
	b=SSF9PBSmtnNLnKDGVm2xruqorQf9JOoix7ADA5yyLNZ7CMrMGFQqTDFntpqb9CjWRK
	ApTHaSBfnTwn3fe2Lje4X6Z7Kle5+n7/IS5y99I4V303jsHi0kkkzsk19Fj4NpBoEur1
	MPMzT2/Xxy0lIEq/8ppmD/bZT7gsgdeFIhXo4=
Received: by 10.141.151.18 with SMTP id d18mr7577948rvo.152.1213971236485;
	Fri, 20 Jun 2008 07:13:56 -0700 (PDT)
Received: from ?192.168.1.22? ( [82.76.35.141])
	by mx.google.com with ESMTPS id 26sm3352168wra.15.2008.06.20.07.13.53
	(version=SSLv3 cipher=RC4-MD5); Fri, 20 Jun 2008 07:13:55 -0700 (PDT)
Organization: Sytron Technologies
To: tiff@lists.maptools.org
Date: Fri, 20 Jun 2008 17:13:51 +0300
User-Agent: KMail/1.9.6 (enterprise 20070904.708012)
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200806201713.51328.bogdan.cristea@sytron.ro>
From: Bogdan Cristea <cristeab@gmail.com>
Subject: [Tiff] Possible bug in tiffcp
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-SpamCatcher-Score: 50 [XX]

Using the following command line

tiffcp -c g4 -f lsb2msb -s -w 1728 "$1" classF_"$1"

I obtain a tile oriented file instead of a strip oriented file. Below is the 
output of tiffdump:

Magic: 0x4949 <little-endian> Version: 0x2a
Directory 0: offset 938 (0x3aa) next 0 (0)
ImageWidth (256) SHORT (3) 1<1728>
ImageLength (257) SHORT (3) 1<2243>
BitsPerSample (258) SHORT (3) 1<1>
Compression (259) SHORT (3) 1<4>
Photometric (262) SHORT (3) 1<0>
FillOrder (266) SHORT (3) 1<2>
Orientation (274) SHORT (3) 1<1>
SamplesPerPixel (277) SHORT (3) 1<1>
XResolution (282) RATIONAL (5) 1<150>
YResolution (283) RATIONAL (5) 1<150>
PlanarConfig (284) SHORT (3) 1<1>
TileWidth (322) SHORT (3) 1<1728>
TileLength (323) SHORT (3) 1<256>
TileOffsets (324) LONG (4) 9<8 111 214 317 420 523 626 729 832>
TileByteCounts (325) LONG (4) 9<103 103 103 103 103 103 103 103 106>

I have tried both the stable version 3.8.2 and the last version 4.0.0beta2.

Any hints why tiffcp does not work as expected?

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