AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.11.19 00:40 "[Tiff] TIFF: predictor question", by Chris Losinger
2003.11.19 02:12 "[Tiff] TIFF: predictor question", by Chris Losinger
2003.11.19 02:18 "[Tiff] TIFF: predictor question", by Frank Warmerdam

2003.11.19 02:18 "[Tiff] TIFF: predictor question", by Frank Warmerdam

nevermind... i've figured it out: the predictor code modifies the *source image* in memory when you write a TIFF.

Chris,

Yikes, thats kind of scary. Are you saying it does this to the buffer that is passed to stuff like TIFFWriteEncodedStrip(), TIFFWriteEncodedTile() and TIFFWriteScanline()? If so, perhaps some documentation should be added to the documentation indicating that this can occur in some situations. Which type of compression is this? PIXAR?

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent