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.17 13:12 "Compression", by <dlpnet@free.fr>

Hello,


I m using the libTiff with the TIFFWriteScanline function :

for (cbY = 0; cbY < ima.GetHeight(); ++cbY)
{
    TIFFWriteScanline(out, (void *)ima[cbY], cbY, 0);
}

with ima my source image and ima[] each row of my image.

that s ok.
The problem is when I try to add compression. My filesize if even bigger 
with the PACKBIT compression and just slightly smaller with the LZW 
compression.  (for differents images which normally can be compressed 
correctly)

Is it correct, do I need to change anything to get smaller file ?


Thanks a lot,

Dlp