Status: Read
Received: from phillip.thumbsplus.com by phillip.thumbsplus.com (NTMail 3.02.11) with ESMTP id pcrews for <pcrews@cerious.com>; Mon, 2 Jun 1997 07:28:53 -0400
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by sgi.sgi.com (950413.SGI.8.6.12/970507) via ESMTP id EAA05287; Mon, 2 Jun 1997 04:21:20 -0700
	env-from (owner-tiff@sgi.engr.sgi.com)
Received: (from majordomo@localhost) by cthulhu.engr.sgi.com (950413.SGI.8.6.12/960327.SGI.AUTOCF) id BAA11305 for tiff-list; Mon, 2 Jun 1997 01:39:26 -0700
Received: from sgi.sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (950413.SGI.8.6.12/960327.SGI.AUTOCF) via ESMTP id BAA11301 for <tiff-relay@relay.engr.sgi.com>; Mon, 2 Jun 1997 01:39:23 -0700
Received: from qgp.uni-muenster.de (QGP.UNI-MUENSTER.DE [128.176.202.229]) by sgi.sgi.com (950413.SGI.8.6.12/970507) via ESMTP id BAA19047
	for <tiff@sgi.com>; Mon, 2 Jun 1997 01:39:21 -0700
	env-from (stueken@qgp.uni-muenster.de)
Received: (from stueken@localhost) by qgp.uni-muenster.de (8.7.5/8.6.9) id KAA08387 for tiff@sgi.com; Mon, 2 Jun 1997 10:39:17 +0200
From: Dieter Stueken <stueken@qgp.uni-muenster.de>
Message-Id: <199706020839.KAA08387@qgp.uni-muenster.de>
Subject: CCITT Grp 4 decoder bug
To: tiff@sgi.com
Date: Mon, 2 Jun 1997 10:39:15 +0200 (MET DST)
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-tiff@fddi-sgi.engr.sgi.com
Precedence: bulk

When processing big FaxG4 coded TIFF-files I noticed, that the
decoder algorithm fails for scanlines of >65k. The reason is an
uint16 array to store the runlength encoded data. I changed all
that to uint32 and it seems to work now. I wonder why nobody else
ever got this problem before. Anyone interested in a patch?

Dieter Stueken.
--
Dieter Stueken, Inst. f. Kernphysik, WWU-Muenster
   stueken@qgp.uni-muenster.de             stueken@conterra.de
   http://qgp.uni-muenster.de/~stueken     http://www.conterra.de/
   (0)251-83-334974                        (0)251-980-2027

