From 5d416e8e2f2d56552d3b70855522353888269d65 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sat, 24 Oct 2009 20:47:24 +0200 Subject: Publish pixmap include maker tool This a support tool for converting images to a Pascal include file. Published on people demand. --- pixmaps/tools/tuxcmd_24_png.c | 95 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 pixmaps/tools/tuxcmd_24_png.c (limited to 'pixmaps/tools/tuxcmd_24_png.c') diff --git a/pixmaps/tools/tuxcmd_24_png.c b/pixmaps/tools/tuxcmd_24_png.c new file mode 100644 index 0000000..d119956 --- /dev/null +++ b/pixmaps/tools/tuxcmd_24_png.c @@ -0,0 +1,95 @@ +/* GdkPixbuf RGBA C-Source image dump 1-byte-run-length-encoded */ + +#ifdef __SUNPRO_C +#pragma align 4 (tuxcmd_24_png) +#endif +#ifdef __GNUC__ +static const guint8 tuxcmd_24_png[] __attribute__ ((__aligned__ (4))) = +#else +static const guint8 tuxcmd_24_png[] = +#endif +{ "" + /* Pixbuf magic (0x47646b50) */ + "GdkP" + /* length: header (24) + pixel_data (1428) */ + "\0\0\5\254" + /* pixdata_type (0x2010002) */ + "\2\1\0\2" + /* rowstride (96) */ + "\0\0\0`" + /* width (24) */ + "\0\0\0\30" + /* height (24) */ + "\0\0\0\30" + /* pixel_data: */ + "\210\377\377\377\0\3r\237\317\1\213\260\330/\247\303\341p\202\274\322" + "\350\226\3\247\303\341p\213\260\330/r\237\317\1\216\377\377\377\0\5\227" + "\270\3341\301\325\352\262\325\342\361\337\356\364\371\374\377\377\377" + "\377\202\374\375\376\377\5\377\377\377\377\356\364\371\374\325\342\361" + "\337\301\325\352\262\227\270\3341\212\377\377\377\0\7r\237\317\2\251" + "\305\342\177\340\352\364\351\370\372\374\377\305\326\352\377\247\301" + "\337\377\212\255\324\377\202p\233\312\377\7\212\255\324\377\247\301\337" + "\377\305\326\352\377\370\372\374\377\340\352\364\351\251\305\342\177" + "r\237\317\2\207\377\377\377\0\5\225\267\333$\276\323\351\273\371\373" + "\375\377\327\342\360\377z\241\315\377\210h\224\306\377\5z\241\315\377" + "\327\342\360\377\371\373\375\377\276\323\351\273\225\267\333$\205\377" + "\377\377\0\4r\237\317\2\276\323\351\273\371\373\375\377\243\275\333\377" + "\214d\220\302\377\4\243\275\333\377\371\373\375\377\276\323\351\273r" + "\237\317\2\204\377\377\377\0\3\251\305\342\177\371\373\375\377\240\272" + "\331\377\210`\214\277\377\1`\213\276\377\205`\214\277\377\3\240\272\331" + "\377\371\373\375\377\251\305\342\177\203\377\377\377\0\3\227\270\334" + "1\340\352\364\351\324\337\355\377\205\\\210\274\377\10f\207\256\377c" + "oy\377JQU\3778=@\377;AC\377`ku\377i\201\235\377\\\206\270\377\203\\\210" + "\274\377\3\324\337\355\377\340\352\364\351\227\270\3341\202\377\377\377" + "\0\15\265\310\333\267\264\267\270\377t\204\225\377q\177\217\377y\204" + "\220\377v~\205\377gmq\377dij\377RUW\377GMN\377\77FF\377chg\377MQR\377" + "\202.46\377\2@GI\377a~\234\377\202X\204\270\377\17l\222\300\377\366\371" + "\373\377\301\325\352\262\377\377\377\0r\237\317\1\230\242\255\352T[b" + "\377\377\1