11-02-2017, 09:27 PM
AFAIK The XPM export is part of standard Gimp. This
export as:
by just using the .xpm extension in the file export file selection dialog.
Code:
/* XPM */
static char * checkers_xpm[] = {
"20 20 2 1",
" c #000000",
". c #FEFEFE",
" ..........",
" ..........",
" ..........",
" ..........",
" ..........",
" ..........",
" ..........",
" ..........",
" ..........",
" ..........",
".......... ",
".......... ",
".......... ",
".......... ",
".......... ",
".......... ",
".......... ",
".......... ",
".......... ",
".......... "};