1998.05.10 02:26 "Re: Choose between TIFFScanline and TIFFReadRGBAImage", by Helge Blischke

1998.05.10 02:26 "Re: Choose between TIFFScanline and TIFFReadRGBAImage", by Helge Blischke

Gilles Vollant wrote:
>
> ok.
>
> Can you just say me how I select the predictor?
> I just do a TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_LZW)

add a TIFFSetField (tif, TIFFTAG_PREDICTOR, 2) (I think there isn't a define for this constant in tiff.h). If you are in doubt, have a look at the source of tiffcp

Helge

--
H.Blischke@srz-berlin.de
H.Blischke@srz-berlin.com
H.Blischke@acm.org


Editor's note: This mail was not originally archived, and has been reconstructed from quotes.