#include "tiffio.h"
#include "geo_config.h"
Go to the source code of this file.
Functions | |
void CPL_DLL | XTIFFInitialize () |
TIFF CPL_DLL * | XTIFFOpen (const char *name, const char *mode) |
void CPL_DLL | XTIFFClose (TIFF *tif) |
|
Close a file opened with XTIFFOpen().
|
|
Registers an extension with libtiff for adding GeoTIFF tags. After this one-time intialization, any TIFF open function may be called in the usual manner to create a TIFF file that compatible with libgeotiff. The XTIFF open functions are simply for convenience: they call this and then pass their parameters on to the appropriate TIFF open function. This function may be called any number of times safely, since it will only register the extension the first time it is called. |
|
GeoTIFF compatible TIFF file open function.
The name of the file to be opened should be passed as name, and an opening mode ("r", "w" or "a") acceptable to TIFFOpen() should be passed as the mode. If XTIFFOpen() fails it will return NULL. Otherwise, normal TIFFOpen() error reporting steps will have already taken place. |