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
December 2010

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

2010.12.22 16:20 "[ANNOUNCE]: LZMA2 codec", by Andrey Kiselev
2010.12.23 00:38 "Re: [ANNOUNCE]: LZMA2 codec", by Scott Ribe
2010.12.23 10:57 "Re: [ANNOUNCE]: LZMA2 codec", by Andrey Kiselev
2010.12.23 12:23 "Re: [ANNOUNCE]: LZMA2 codec", by Even Rouault
2010.12.23 13:59 "Re: [ANNOUNCE]: LZMA2 codec", by Andrey Kiselev
2010.12.23 18:29 "Re: [ANNOUNCE]: LZMA2 codec", by Even Rouault

2010.12.23 10:57 "Re: [ANNOUNCE]: LZMA2 codec", by Andrey Kiselev

On Wed, Dec 22, 2010 at 05:38:46PM -0700, Scott Ribe wrote:
> > I would like to announce that the code implementing LZMA2 compression has been
> > checked in the libtiff's development branch (4.x). tiffcp utility can utilize
> > this new compression method (use '-c lzma' switch). Encoder applies delta
> > filter internally, but you still can use predictor value 2 or 3. Sometimes it
> > helps to get even better compression ratios. LZMA2 seems to be the best
> > comression method (comparing to LZW and Defalte), though the slowest one. Worth
> > a try if you are hunting for bytes.
> 
> That's interesting, is there something like a how-to you could point me
> toward for adding bzip the same way?

There is no any documentation on that, but the code is pretty much
self-explanatory. Take a tif_zip.c or tif_lzma.c as a template. Also you can
take a look at the whole patch adding LZMA support:

 http://bugzilla.maptools.org/attachment.cgi?id=400&action=diff

to get an idea what parts of libtiff are being affected by the new codec. LZMA
SDK maintains the API similarity to zlib, so it is a straitforward task to
adopt tiff_zip.c to it. I think that bzip2 library should be similar too.

Best regards,
Andrey

-- 
Andrey V. Kiselev