Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-h.b-one.net (mx-h.one.com [91.198.169.55])
	by mail9.b-one.net (Postfix) with ESMTP id 0BAEC400122
	for <info@awaresystems.be>; Tue,  5 May 2009 14:40:45 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 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-h.b-one.net (Postfix) with ESMTP id 039DD1990B78
	for <info@awaresystems.be>; Tue,  5 May 2009 14:40:43 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 1AADC1D1F36A4;
	Tue,  5 May 2009 07:39:50 -0500 (EST)
Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227])
	by lists.maptools.org (Postfix) with ESMTP id 6986D1D20369A
	for <tiff@lists.maptools.org>; Thu, 30 Apr 2009 14:25:32 -0500 (EST)
Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166])
	by fmmailgate02.web.de (Postfix) with ESMTP id 88B63FE1AE25
	for <tiff@lists.maptools.org>; Thu, 30 Apr 2009 21:25:31 +0200 (CEST)
Received: from [79.222.27.52] (helo=simon.fritz.box)
	by smtp05.web.de with asmtp (WEB.DE 4.110 #277) id 1Lzbsx-0000GP-00
	for tiff@lists.maptools.org; Thu, 30 Apr 2009 21:25:31 +0200
To: "TIFF list" <tiff@lists.maptools.org>
References: <op.usz7voo3foqvse@simon.fritz.box>
	<0E2E76C8-CAF8-45B5-BAAD-BDC4939B6CF0@telegraphics.com.au>
	<787b0d920904300041y16f836bx87caec73e17e9ebf@mail.gmail.com>
	<869A614C-C44E-4F4F-821D-B1934573CAD2@telegraphics.com.au>
	<787b0d920904301212l5ef55bf8q90ae726b091f07df@mail.gmail.com>
Date: Thu, 30 Apr 2009 21:25:28 +0200
MIME-Version: 1.0
From: "Simon Berger" <simon_-berger@web.de>
Message-ID: <op.us7r8q13foqvse@simon.fritz.box>
In-Reply-To: <787b0d920904301212l5ef55bf8q90ae726b091f07df@mail.gmail.com>
User-Agent: Opera Mail/10.00 (Win32)
X-Sender: simon_-berger@web.de
X-Provags-ID: V01U2FsdGVkX18vgkeOCUjhav6tSraXczOO68gSSVZqlXlJjqhJ
	LmYDNp8GCadedn+USq4R6UgFleSy23dGgZh9jZb1Yc8RCHiwac
	D7jq/sLJhHR7stzAgfHA==
Subject: Re: [Tiff] Packbits worst case encoded length
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

Could I ask the question if you all are still discussing about the question I had? I will try to summerize the points I get here (they might be good but they aren't whats near to my problem.

- you say it's bad to assume anything.
  + DO you mean decomompression? - Yeah sure but decompression never was a problem. If I read over the row limit I will throw an error.
  + Do you mean compression? Why shouldn't I assume something. I compress "random data" with a simple algorithm that has a clear worst case situation.

If you can't answer my question that's no problem because you most likely didn't implement the packbits libtiff code but at the moment it isn't really helpful. I will investigate and try if it's something like srcByteLen / 127 + 1 instead of 128.

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