From: warmerdam@pobox.com (Frank Warmerdam)
Date: Tue, 18 Nov 2003 21:18:11 -0500
Subject: [Tiff] TIFF: predictor question
In-Reply-To: <6.0.0.22.2.20031118211254.0334bd40@pop.earthlink.net>
References: <6.0.0.22.2.20031118211254.0334bd40@pop.earthlink.net>
Message-ID: <3FBAD2E3.9000802@pobox.com>

Chris Losinger wrote:
> 
>         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



