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.
401 lines
8.8 KiB
401 lines
8.8 KiB
/* GIMP header image file format (INDEXED): /home/ondra/devel/avr/projects/c/led-display/image/checker3264numbers.h */
|
|
|
|
static unsigned int width = 64;
|
|
static unsigned int height = 32;
|
|
|
|
/* 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[] = {
|
|
0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,
|
|
0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,
|
|
0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,
|
|
0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,
|
|
0,0,0,1,0,0,0,0,1,1,0,0,1,1,1,1,
|
|
0,0,1,1,0,0,0,0,1,0,1,1,1,1,1,1,
|
|
0,0,1,1,1,1,0,0,1,1,0,0,0,1,1,1,
|
|
0,1,1,1,1,0,0,0,1,1,0,0,0,0,1,1,
|
|
0,0,1,1,0,0,0,0,1,0,1,1,0,1,1,1,
|
|
0,1,0,0,1,0,0,0,1,0,1,0,1,1,1,1,
|
|
0,0,1,0,0,0,0,0,1,0,1,1,1,1,1,1,
|
|
0,1,0,0,1,0,0,0,1,1,0,1,1,0,1,1,
|
|
0,0,0,1,0,0,0,0,1,1,1,1,0,1,1,1,
|
|
0,0,0,1,1,0,0,0,1,0,0,0,0,1,1,1,
|
|
0,0,1,1,1,1,0,0,1,0,1,1,1,1,1,1,
|
|
0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,1,
|
|
0,0,0,1,0,0,0,0,1,1,1,0,1,1,1,1,
|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