回复二楼的大侠,是在linux平台下的,*.h确实是存放图片数组的头文件
下面的这个图片数组文件是通过bmptobin.exe这个程序生成的,我现在想把它还原到*.bmp格式(原图片没有)
Im_loading.h
/*
E:\Glass\Bitmap\Im_Loading.h
bmp file size: 2680
bmp data offset: 1078
bmp data width: 40
bmp data height: 40
bmp data size: 1600
RLE bmp data size: 818
*/
const unsigned char Im_Loading[] __attribute__((section(".flash"))) =
{
0x5a,0xff,0x94,0x3b,0x0e,0x03,0x03,0x01,0x03,0x03,0x01,0x03,0x03,0x01,0x03,0x03,
0x01,0x03,0x03,0x01,0x03,0x0e,0x3b,0x13,0xff,0x96,0x0d,0x03,0x01,0x03,0x01,0x03,
0x03,0x01,0x03,0x03,0x01,0x03,0x03,0x01,0x03,0x03,0x01,0x03,0x03,0x03,0x01,0x0d,
0x11,0xff,0x98,0x22,0x03,0x0d,0x25,0x25,0x31,0x25,0x31,0x31,0x25,0x31,0x31,0x25,
0x31,0x31,0x25,0x31,0x31,0x25,0x25,0x25,0x0d,0x03,0x22,0x10,0xff,0x86,0x03,0x01,
0x25,0x1c,0x1c,0x25,0x06,0x1c,0x82,0x25,0x1c,0x05,0x25,0x85,0x31,0x25,0x25,0x01,
0x0d,0x10,0xff,0x98,0x03,0x03,0x25,0x05,0x0d,0x05,0x0d,0x05,0x0d,0x05,0x0d,0x05,
0x05,0x0d,0x13,0x13,0x1c,0x1c,0x25,0x25,0x31,0x31,0x03,0x01,0x10,0xff,0x8a,0x0d,
0x01,0x25,0x31,0x31,0x4a,0x56,0x64,0x64,0x67,0x05,0x31,0x89,0x2c,0x31,0x31,0x31,
0x25,0x31,0x25,0x01,0x0d,0x10,0xff,0x98,0x22,0x03,0x0d,0x25,0x31,0x64,0x7a,0x64,
0x7a,0x7a,0x31,0x31,0x25,0x31,0x31,0x31,0x25,0x31,0x2c,0x31,0x2c,0x0d,0x03,0x22,
0x11,0xff,0x89,0x03,0x03,0x25,0x31,0x64,0x64,0x7a,0x64,0x64,0x08,0x31,0x85,0x25,
0x31,0x25,0x03,0x03,0x12,0xff,0x8e,0x03,0x03,0x25,0x2c,0x64,0x7a,0x78,0x7a,0x7a,
0x42,0x42,0x42,0x31,0x42,0x05,0x31,0x83,0x25,0x01,0x03,0x12,0xff,0x89,0x03,0x01,
0x25,0x31,0x64,0x64,0x7a,0x7a,0x64,0x08,0x42,0x85,0x31,0x31,0x30,0x03,0x03,0x12,
0xff,0x8a,0x03,0x03,0x31,0x31,0x64,0x7a,0x64,0x64,0x7a,0x4a,0x06,0x42,0x86,0x31,
0x42,0x31,0x2c,0x03,0x03,0x12,0xff,0x96,0x03,0x01,0x30,0x31,0x64,0x7a,0x7a,0x78,
0x7a,0x4b,0x50,0x50,0x50,0x4b,0x4b,0x42,0x42,0x42,0x31,0x31,0x01,0x03,0x12,0xff,
0x96,0x03,0x03,0x31,0x31,0x31,0x64,0x64,0x7a,0x64,0x25,0x2b,0x25,0x2b,0x25,0x2b,
0x25,0x2b,0x42,0x42,0x30,0x03,0x03,0x12,0xff,0x8a,0x22,0x03,0x0d,0x31,0x42,0x4a,
0x64,0x7a,0x67,0x25,0x05,0x15,0x87,0x42,0x4b,0x42,0x42,0x0d,0x03,0x22,0x13,0xff,
0x94,0x03,0x03,0x03,0x30,0x4b,0x4b,0x57,0x64,0x42,0x15,0x25,0x15,0x31,0x59,0x59,
0x50,0x30,0x03,0x03,0x03,0x15,0xff,0x92,0x22,0x03,0x01,0x22,0x50,0x5d,0x50,0x4a,
0x15,0x25,0x52,0x66,0x5d,0x56,0x1c,0x03,0x01,0x22,0x17,0xff,0x90,0x3b,0x03,0x03,
0x0d,0x4a,0x5d,0x5e,0x42,0x67,0x67,0x5d,0x52,0x0d,0x01,0x03,0x3b,0x19,0xff,0x8e,
0x6b,0x0e,0x01,0x03,0x30,0x67,0x67,0x71,0x67,0x30,0x03,0x01,0x22,0x6e,0x1c,0xff,
0x8a,0x22,0x03,0x03,0x30,0x67,0x67,0x25,0x03,0x01,0x22,0x1c,0xff,0x8e,0x63,0x0e,
0x03,0x03,0x30,0x5d,0x67,0x67,0x67,0x30,0x03,0x03,0x0e,0x6e,0x19,0xff,0x85,0x22,
0x03,0x03,0x0d,0x4a,0x06,0x5d,0x85,0x49,0x0d,0x03,0x03,0x22,0x17,0xff,0x88,0x22,
0x03,0x03,0x22,0x52,0x50,0x5d,0x64,0x04,0x5d,0x86,0x56,0x50,0x22,0x01,0x03,0x22,
0x15,0xff,0x94,0x03,0x01,0x03,0x30,0x42,0x42,0x64,0x7a,0x64,0x59,0x56,0x59,0x50,
0x50,0x4b,0x4b,0x30,0x03,0x03,0x03,0x13,0xff,0x96,0x22,0x03,0x0d,0x31,0x31,0x42,
0x64,0x7a,0x64,0x50,0x4b,0x50,0x4b,0x50,0x4b,0x42,0x42,0x42,0x31,0x0d,0x03,0x22,
0x12,0xff,0x96,0x03,0x01,0x31,0x31,0x42,0x64,0x64,0x7a,0x64,0x31,0x15,0x42,0x4b,
0x42,0x42,0x42,0x31,0x42,0x31,0x30,0x01,0x03,0x12,0xff,0x90,0x03,0x03,0x25,0x31,
0x64,0x7a,0x7a,0x64,0x7a,0x15,0x25,0x15,0x31,0x42,0x42,0x42,0x04,0x31,0x82,0x03,
0x03,0x12,0xff,0x8e,0x03,0x01,0x31,0x25,0x64,0x64,0x7a,0x78,0x7a,0x25,0x15,0x15,
0x15,0x25,0x05,0x31,0x83,0x25,0x01,0x03,0x12,0xff,0x96,0x03,0x03,0x25,0x31,0x64,
0x7a,0x64,0x7a,0x64,0x30,0x15,0x25,0x15,0x15,0x25,0x31,0x31,0x31,0x25,0x31,0x03,
0x03,0x12,0xff,0x96,0x06,0x03,0x25,0x31,0x64,0x64,0x7a,0x64,0x7a,0x15,0x25,0x15,
0x15,0x25,0x15,0x15,0x25,0x31,0x31,0x25,0x01,0x03,0x11,0xff,0x98,0x22,0x03,0x0d,
0x31,0x25,0x64,0x7a,0x78,0x7a,0x7a,0x25,0x15,0x15,0x25,0x15,0x25,0x15,0x25,0x25,
0x2c,0x31,0x0d,0x03,0x22,0x10,0xff,0x98,0x03,0x03,0x25,0x25,0x15,0x4a,0x4a,0x3b,
0x31,0x4a,0x1c,0x25,0x25,0x15,0x25,0x15,0x25,0x25,0x15,0x31,0x31,0x25,0x03,0x03,
0x10,0xff,0x91,0x03,0x01,0x25,0x05,0x0d,0x05,0x05,0x05,0x0d,0x05,0x05,0x03,0x05,
0x13,0x13,0x13,0x1c,0x04,0x25,0x83,0x31,0x01,0x03,0x10,0xff,0x82,0x11,0x03,0x11,
0x25,0x85,0x31,0x31,0x25,0x03,0x0d,0x10,0xff,0x8e,0x22,0x01,0x0d,0x25,0x31,0x25,
0x31,0x2c,0x31,0x25,0x31,0x31,0x31,0x2c,0x05,0x31,0x85,0x25,0x25,0x0d,0x01,0x22,
0x11,0xff,0x96,0x0d,0x03,0x01,0x03,0x01,0x03,0x01,0x03,0x03,0x01,0x03,0x01,0x03,
0x01,0x03,0x01,0x03,0x01,0x03,0x01,0x03,0x11,0x13,0xff,0x94,0x35,0x0d,0x03,0x03,
0x01,0x03,0x01,0x03,0x03,0x01,0x03,0x01,0x03,0x01,0x03,0x01,0x03,0x03,0x11,0x30,
0x5a,0xff
};
|