2004.04.14 20:01 "[Tiff] Read tiff from memory", by Ann Wang

2004.04.14 21:06 "Re: [Tiff] Read tiff from memory", by Frank Warmerdam

Hi, I am a newbie and want to know if there is a way to read tiff from memory buffer instead of from file. Looking at the documentation, I only see examples reading the tiff using TIFFOpen(tiff filename, mode). Is there a TIFFOpen function that will read from memory buffer instead?

Ann,

The TIFFClientOpen() function allows you to pass in functions to be used for seeking, reading, writing and so forth. This can be used to access in memory datasets. The contrib/mfs directory contains one example of an "in memory" access implementation using this mechanism.

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