You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
322 lines
6.1 KiB
322 lines
6.1 KiB
10 years ago
|
/* GIMP header image file format (INDEXED): /home/ondra/devel/elektro/avr/projects/c/globus/image/butt.h */
|
||
|
|
||
|
static unsigned int width = 46;
|
||
|
static unsigned int height = 16;
|
||
|
|
||
|
/* Call this macro repeatedly. After each use, the pixel data can be extracted */
|
||
|
|
||
|
#define HEADER_PIXEL(data,pixel) {\
|
||
|
pixel[0] = header_data_cmap[(unsigned char)data[0]][0]; \
|
||
|
pixel[1] = header_data_cmap[(unsigned char)data[0]][1]; \
|
||
|
pixel[2] = header_data_cmap[(unsigned char)data[0]][2]; \
|
||
|
data ++; }
|
||
|
|
||
|
static char header_data_cmap[256][3] = {
|
||
|
{ 0, 0, 0},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255},
|
||
|
{255,255,255}
|
||
|
};
|
||
|
static char header_data[] = {
|
||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||
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