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
November 2003

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

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

2003.11.19 00:40 "TIFF: predictor question", by Chris Losinger

i'm noticing something really strange in my app.  for testing speed, i'm 
saving an image, reading it back, then saving again and that reading back, 
in a loop.

i've notice that if i use the predictor when saving ( TIFFSetField(tiff, 
TIFFTAG_PREDICTOR, 2); ), the image is degraded *each time* it goes through 
the loop. the first time through, the image read back looks fine. the 
second time, the degradation starts (and it looks exactly as if what i'm 
seeing at is the output of the predictor - the basic image is still there 
but the colors are all wrong and there is banding around features). it gets 
worse each time i read and save the same image, and by the 10th time 
through, the image is pure noise. i'm using LZW and Deflate, for testing.

if i don't turn the predictor on, there are no problems.

does this sound right?

	-c