69
69
int jtrgLength; // number of jump table targets
74
========================================================================
76
PCX files are used for 8 bit images
78
========================================================================
86
unsigned short xmin,ymin,xmax,ymax;
87
unsigned short hres,vres;
88
unsigned char palette[48];
91
unsigned short bytes_per_line;
92
unsigned short palette_type;
94
unsigned char data; // unbounded
99
========================================================================
101
TGA files are used for 24/32 bit images
103
========================================================================
106
typedef struct _TargaHeader {
107
unsigned char id_length, colormap_type, image_type;
108
unsigned short colormap_index, colormap_length;
109
unsigned char colormap_size;
110
unsigned short x_origin, y_origin, width, height;
111
unsigned char pixel_size, attributes;
117
73
========================================================================