00001
00002
00003
00004
00005
00006
00007 #ifndef __xtiffio_h
00008 #define __xtiffio_h
00009
00010 #include "tiffio.h"
00011 #include "geo_config.h"
00012
00020
00021
00022
00023
00024
00025 #define TIFFTAG_GEOPIXELSCALE 33550
00026
00027 #define TIFFTAG_INTERGRAPH_MATRIX 33920
00028 #define TIFFTAG_GEOTIEPOINTS 33922
00029
00030 #ifdef JPL_TAG_SUPPORT
00031 #define TIFFTAG_JPL_CARTO_IFD 34263
00032 #endif
00033 #define TIFFTAG_GEOTRANSMATRIX 34264
00034
00035 #define TIFFTAG_GEOKEYDIRECTORY 34735
00036 #define TIFFTAG_GEODOUBLEPARAMS 34736
00037 #define TIFFTAG_GEOASCIIPARAMS 34737
00038
00039
00040
00041
00042
00043
00044
00045
00046 #define TIFFPRINT_GEOKEYDIRECTORY 0x80000000
00047 #define TIFFPRINT_GEOKEYPARAMS 0x40000000
00048
00049
00050
00051
00052
00053 #if defined(__cplusplus)
00054 extern "C" {
00055 #endif
00056
00057
00058
00059
00060 #if !defined(CPL_DLL)
00061 # if defined(_WIN32) && defined(BUILD_AS_DLL)
00062 # define CPL_DLL __declspec(dllexport)
00063 # else
00064 # define CPL_DLL
00065 # endif
00066 #endif
00067
00068 extern void CPL_DLL XTIFFInitialize();
00069 extern TIFF CPL_DLL * XTIFFOpen(const char* name, const char* mode);
00070 extern TIFF CPL_DLL * XTIFFFdOpen(int fd, const char* name, const char* mode);
00071 extern void CPL_DLL XTIFFClose(TIFF *tif);
00072
00073 extern TIFF CPL_DLL * XTIFFClientOpen(const char* name, const char* mode,
00074 thandle_t thehandle,
00075 TIFFReadWriteProc, TIFFReadWriteProc,
00076 TIFFSeekProc, TIFFCloseProc,
00077 TIFFSizeProc,
00078 TIFFMapFileProc, TIFFUnmapFileProc);
00079 #if defined(__cplusplus)
00080 }
00081 #endif
00082
00083 #endif
00084