7
APPENDIX
■
Directory data structure
Same as “SPM Image” except that Tag320 “Color Map” is added.
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
long type data
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
:
:
:
:
:
struct
TIFF_TAG
12 bytes
Image height
128 or 256 or 512
02
01
TAG 258 “Bit Per Sample”
03
00
short type data
01
00
00
00
Data unit: 1
(TAG Data length = 2 bytes)
08
00
0x17EE
:
:
:
:
:
struct
TIFF_TAG
12 bytes
00
00
No. of bits per sample
8 bits for “Compressed TIFF”
03
01
TAG 258 “Compression”
03
00
short type data
01
00
00
00
Data unit: 1
(TAG Data length = 2 bytes)
01
00
0x17FA
:
:
:
:
:
struct
TIFF_TAG
12 bytes
00
00
Data compressed or not (1 =
compressed
)
TMPM5200-2
7-41