AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.05.17 13:12 "[Tiff] Compression", by Dlpnet
2004.05.17 14:24 "Re: [Tiff] Compression", by Andrey Kiselev
2004.05.17 19:58 "RE: [Tiff] Compression", by Peter Smith
2004.05.18 14:04 "Re: [Tiff] Compression", by Dlpnet
2004.05.18 17:58 "Re: [Tiff] Compression", by Andrey Kiselev

2004.05.17 13:12 "[Tiff] Compression", by Dlpnet

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