7
APPENDIX
TMPM5200-2
7-35
Table 10 3-dimensional display mode
00
Invalid
08
Merge
01
Illuminate
10
Shade/Illuminated
02
Shade
20
Alpha
04
Grid
■
Directory data structure
TAG structure
The WinSPM directory lies in the 1st directory of the TIFF file and it occupies 300 bytes
in the header. There are 16 TAG structures in the directory, each having 12 bytes.
•
TAG structure: TIFF_TAG
Type
Size
Note
short 2
bytes
TAG
type
short 2
bytes
Data
type
long
4 bytes
Length of data
long
4 bytes
data or pointer
Data structure
Address
Data Type
Size
Data
Note
0x17D4
short
2 bytes
11
00
Total no. of TAGs (0x0011 = 17)
00
01
TAG 256 “Image Width”
04
00
Data type: long
01
00
00
00
Data unit: 1
(TAG Data length = 4 bytes)
0x17D6
:
:
:
:
:
struct
TIFF_TAG
12 bytes
Image width
128 or 256 or 512
01
01
TAG 257 “Image Height”
04
00
long type data
01
00
00
00
Data unit: 1
(TAG Data length = 4 bytes)
0x17E2
:
:
:
:
:
s
truct
TIFF_TAG
12 bytes
Image height
128 or 256 or 512