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
March 2006

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

2006.03.04 03:05 "LZW Compression with 16-bit TIFF", by Frank Peters
2006.03.04 03:12 "Re: LZW Compression with 16-bit TIFF", by Bob Friesenhahn
2006.03.04 03:33 "Re: LZW Compression with 16-bit TIFF", by Frank Peters
2006.03.04 06:27 "Re: LZW Compression with 16-bit TIFF", by Bob Friesenhahn
2006.03.04 12:21 "Re: LZW Compression with 16-bit TIFF", by Joris Van Damme

2006.03.04 06:27 "Re: LZW Compression with 16-bit TIFF", by Bob Friesenhahn

> > 16 bit data can be difficult to compress.  Have you tried enabling
> > horizontal differencing?
> >
> >    TIFFSetField(tiff,TIFFTAG_PREDICTOR,2);
>
> Why should 16-bit data be any different in principle that 8-bit
> data?  A change in data length should not have any bearing on
> compression (at least that's what I would first think).

The more levels available, the more difficult the data is to compress. 
That is due to less opportunity for repeated codes.

> As for horizontal differencing, supposedly that's what the "-c lzw:2"
> option accomplishes.  Is there another way to enable this by setting
> some parameter in the source code and then recompiling?

The line of code that I posted? :-)

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/