Received: by cthulhu.engr.sgi.com (940426.SGI.8.6.9/911001.SGI)
	for tiff-list id LAA12436; Wed, 29 Jun 1994 11:26:40 GMT
Return-Path: <owner-tiff>
Received: from sgi.sgi.com by cthulhu.engr.sgi.com via ESMTP (940426.SGI.8.6.9/911001.SGI)
	for <tiff-relay@cthulhu.engr.sgi.com> id LAA12430; Wed, 29 Jun 1994 11:26:31 GMT
Received: from ns.dknet.dk by sgi.sgi.com via SMTP (940627.SGI.8.6.9/910110.SGI)
	for <tiff@sgi.com> id EAA15743; Wed, 29 Jun 1994 04:26:23 -0700
Received: from hval by ns.dknet.dk with UUCP id AA09041
  (5.65c8/IDA-1.4.4j for tiff@sgi.com); Wed, 29 Jun 1994 13:26:18 +0200
Received: from rokke.kampsax.dk by hval.kampsax.dk (5.57/DKnet2.0.5)
        id AA19931; Wed, 29 Jun 94 13:03:52 +0200
Received: from localhost by rokke.kampsax.dk (5.65/DKnet2.0.5) with SMTP
        id AA17191; Wed, 29 Jun 1994 13:04:46 +0200
Message-Id: <9406291104.AA17191@rokke.kampsax.dk>
To: Lars.Farm@nts.mh.se (Lars Farm)
Cc: tiff@sgi.sgi.com, krs@kampsax.dk
Subject: Re: tiff "Bugs and such" v3.3beta002 
In-Reply-To: Your message of "Wed, 29 Jun 94 11:17:30 BST." <199406291615.LAA12240@asgard.nts.mh.se> 
Date: Wed, 29 Jun 94 13:04:46 +0200
From: "Karsten Spang" <krs@kampsax.dk>
X-Mts: smtp
X-Charset: ASCII
X-Char-Esc: 29
Sender: owner-tiff@sgi.sgi.com
Precedence: bulk

In message <199406291615.LAA12240@asgard.nts.mh.se> ,
Lars.Farm@nts.mh.se (Lars Farm)  writes:

>First, may I ask about faxcompression?
>
>I noticed that for the (Mac)-MPW port fax compression was excluded. This is
>because of the very large state tables in g3states.h. Using Metrowerks
>Codewarrior on Macintosh I had no problem compiling, but I get some 140000
>bytes of global data in tif_fax3.c. I think this is rather a bit on the
>much side. Is there a leaner "tif_fax3.c" or a leaner way to do fax
>(de-)compression? sources available?

libtiff v2 had a less memory consuming (but slower, you don't get anything
for free:-) fax decompression. It did not have any support for G4 either.
It may be possible to cut out the bit fiddling (i.e. Huffman decoding) of 
the v2 tif_fax3.c, and then substitute it into the v3 one. I believe that I
still have a copy of the files around somewhere, in case someone wants to
try this.

                                 Karsten
--------------------------------------------------------------------------------
E-mail: krs@kampsax.dk                                      Karsten Spang
Phone:  +45 36 77 22 23                                     Kampsax Data
Fax:    +45 36 77 03 01                                     P.O. Box 1142
                                                            DK-2650 Hvidovre
                                                            Denmark

