1#ifndef __JBXLPP_TIFF_TOOL_H_
2#define __JBXLPP_TIFF_TOOL_H_
42#define MAX_IFD_DEM_NUM 20
44#define TIFF_TYPE_BYTE 1
45#define TIFF_TYPE_ASCII 2
46#define TIFF_TYPE_SOHRT 3
47#define TIFF_TYPE_LONG 4
48#define TIFF_TYPE_RATIONAL 5
49#define TIFF_TYPE_SBYTE 6
50#define TIFF_TYPE_UNDEFINED 7
51#define TIFF_TYPE_SSHORT 8
52#define TIFF_TYPE_SLONG 9
53#define TIFF_TYPE_SRATIONAL 10
54#define TIFF_TYPE_FLOAT 11
55#define TIFF_TYPE_DOUBLE 12
57#define TIFF_TAG_WIDTH 0x0100
58#define TIFF_TAG_HEIGHT 0x0101
59#define TIFF_TAG_DEPTH 0x0102
60#define TIFF_TAG_COMP 0x0103
61#define TIFF_TAG_COLOR 0x0106
62#define TIFF_TAG_STRIP 0x0111
63#define TIFF_TAG_STRIP_RAW 0x0116
64#define TIFF_TAG_STRIP_CNT 0x0117
65#define TIFF_TAG_XRES 0x011a
66#define TIFF_TAG_YRES 0x011b
67#define TIFF_TAG_RES_UNIT 0x0128
68#define TIFF_TAG_COLORMAP 0x0140
70#define TIFF_TAG_PIXEL 0x0115
71#define TIFF_TAG_PLANAR 0x011c
72#define TIFF_TAG_SOFTWARE 0x0131
74#define TIFF_TAG_TILE_WIDTH 0x0142
75#define TIFF_TAG_TILE_HEIGHT 0x0143
76#define TIFF_TAG_TILE_OFFSET 0x0144
77#define TIFF_TAG_TILE_BYTE 0x0145
78#define TIFF_TAG_SMPL_FORMAT 0x0153
80#define TIFF_TAG_COPYRIGHT 0x8298
83#define TIFF_TAG_GEO_PXL_SCALE 0x830e
84#define TIFF_TAG_GEO_TIEPOINT 0x8482
85#define TIFF_TAG_GEO_TRANS 0x85d8
86#define TIFF_TAG_GEO_DIR 0x87af
87#define TIFF_TAG_GEO_DOUBLE_PM 0x87b0
88#define TIFF_TAG_GEO_ASCII_PM 0x87b1
unsigned short uWord
2Byte