AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
June 1994

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

1994.06.29 10:17 "tiff "Bugs and such" v3.3beta002", by Lars Farm
1994.06.29 11:04 "Re: tiff "Bugs and such" v3.3beta002", by Karsten Spang

1994.06.29 11:04 "Re: tiff "Bugs and such" v3.3beta002", by Karsten Spang

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