[Geotiff] Add support for TIFFOpenStream

Frank Warmerdam warmerdam at pobox.com
Mon Mar 27 18:39:55 PST 2006


Fred Rothganger wrote:
> Dear GeoTIFF Folks,
> 
>    I would like to use the C++ stream code in libtiff (tiffio.hxx, 
> tif_stream.cxx) for file i/o.  libxtiffio supports every method of 
> opening a TIF other than this.  At least two solutions come to mind:
> 
>    1) One of the developers comes up with a nice way to add the 
> TIFFStreamOpen() functions.

Fred,

The stream support in libtiff has been a nightmare, and not something
I want to introduce into libgeotiff.

>    2) Make _XTIFFInitialize() public.  Since this is the only thing 
> special about the XTIFFOpen() functions, it is just as simple to allow 
> the client code to call it, and then use whatever TIFFOpen it wishes.

Feel free to submit a bug report with the patch to make this public and
I will incorporate it.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Geotiff mailing list