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
May 2004

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

2004.05.17 13:12 "Compression", by <dlpnet@free.fr>
2004.05.17 14:24 "Re: Compression", by Andrey Kiselev
2004.05.17 19:58 "Re: Compression", by Peter Smith
2004.05.18 14:04 "Re: Compression", by <dlpnet@free.fr>
2004.05.18 17:58 "Re: Compression", by Andrey Kiselev

2004.05.18 17:58 "Re: Compression", by Andrey Kiselev

On Tue, May 18, 2004 at 04:04:42PM +0200, Dlpnet wrote:
> > Efficiency of compression is depend on the nature of your data. In
> > general LZW works better than Packbits and Deflate works better than
> > LZW So your question does not make sense without data description (in
> > terms of size, type and contents).
>
> Thanks for your answer. In fact my main concern is to understand why I
> have no gain when changing the compression scheme. (is it because I m
> writing line by line ?)
> 
> And I m wondering if I ll have better result if I don t write line by
> line (if possible).

Line by line writing results in stripped image. Tiled images sometimes
compresses better than tiled. Size of tiles/stripes has matter too and
best size differs for different algorithms.

I'm recommend you to experiment with the tiffcp utility: it is possible
to probe various compression schemes and image organizations and pick up
the best parameters for your data.

						Andrey

-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517