Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-k.b-one.net (mx-k.one.com [91.198.169.58])
	by mail9.b-one.net (Postfix) with ESMTP id C4535400107
	for <info@awaresystems.be>; Sat,  7 Aug 2010 08:56:10 +0200 (CEST)
Received: by mx-k.b-one.net (Postfix, from userid 106)
	id A925A37DD3BF; Sat,  7 Aug 2010 08:56:10 +0200 (CEST)
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-k.b-one.net (Postfix) with ESMTP id E039CA686A1 for
 <info@awaresystems.be>; Sat,  7 Aug 2010 08:56:05 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id 3E9371D184BC4; Sat,  7 Aug 2010
 01:55:02 -0500 (EST)
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9])
 by lists.maptools.org (Postfix) with ESMTP id C03B81D0C12BA for
 <tiff@lists.maptools.org>; Sat,  7 Aug 2010 01:36:30 -0500 (EST)
Received: from [192.168.0.20] (dslb-084-063-041-081.pools.arcor-ip.net
 [84.63.41.81]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis)
 id 0Lr4CZ-1PD5xO0s31-00eHiZ; Sat, 07 Aug 2010 08:36:29 +0200
Message-ID: <4C5CFEEB.6080908@ar-kleinert.de>
Date: Sat, 07 Aug 2010 08:36:27 +0200
From: Andreas Kleinert <info@ar-kleinert.de>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: TIFF <tiff@lists.maptools.org>
References: <AANLkTinhaUbDrvMQgVaAX5nvXG_9j7GFjGgGALks3T1e@mail.gmail.com>
 <4C5CFE83.1090402@ar-kleinert.de>
In-Reply-To: <4C5CFE83.1090402@ar-kleinert.de>
X-Enigmail-Version: 0.96.0
X-Provags-ID: V02:K0:Q0+ySkTWeR2XxOwCbQnQ33TD8904r6T+XugnjSJC9rS
 8ggj/7WBH1yJgTDZxLpQTx1+/aH/cJtcIqbPj6vrNlvhfOxpcc
 Jab16anMApflBNgTzK6Gp5ZAFjU/O6vAYcU+gYf+kB0TQrMRdT
 C6Zma3KwjWeW1bQxzNFAdT+hmJ8IchCbZN+EH6OEc8DF6ZxroX
 GkjSEezjguaime8M/mGmoTpA870TvpX6WGKxUUWE0w=
Subject: Re: [Tiff] tiffcp crashes on tile to strip conversion for < 8 bit
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="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

tile=>strip and strip=>tile, I mean...

-------- Original Message  --------
Subject: tiffcp crashes on planar to strip conversion for < 8 bit
From: Andreas Kleinert <info@ar-kleinert.de>
To: TIFF <tiff@lists.maptools.org>
Date: 07.08.2010 08:34

> Hi all,
> 
> I've found that tiffcp crashes on some files of the
> well known tiff-sample-images-le (respectively -be)
> test suite(*) when trying tile to strip conversion like
> in
> 
> 	tiffcp -s -r <height> in out
> 
> for
> 
> 	tiger-rgb-tile-planar-01.tif
> 	...
> 	tiger-rgb-tile-planar-07.tif
> 
> The easiest workaround is to disallow such conversion
> for files with spp > 1 and 1 <= bps <= 7.
> 
> I didn't try the opposite direction (strip to planar).
> 
> However it might be worth having a closer look at other files
> as well, since e.g. tiger-palette-strip-10.tif actually
> is 16 bit at one sample (not 10 bit).
> 
> Best Regards,
> Andreas
> 
> http://www.ar-kleinert.de/sview5_win_e.html
> 
> (*) download dated October 2009

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