28        if (hd->
buf!=NULL)   free(hd->
buf);
 
 
void init_CmnHead(CmnHead *hd)
 
void free_CmnHead(CmnHead *hd)
 
CmnHead getinfo_CmnHead(CmnHead hd)
ヘッダ情報のみをコピーする
 
unsigned int lsize
Size of Graphics Data (byte unit)
 
uByte * buf
Ture Header buffer
 
int zsize
For 3D Data (or Color)
 
int kind
Kind of Graphics Format.
 
unsigned int bsize
Fllowing buf size or Any Data (byte unit)
 
uByte * grptr
Pointer to Data.
 
int ysize
Height of Graphics.
 
int depth
Color Depth of Graphics (bit unit)
 
int xsize
Width of Graphics.