Code: Select all
convert xc:red -scale 2x2 red.xpm
Code: Select all
/* XPM */
static char *red[] = {
/* columns rows colors chars-per-pixel */
"2 2 4 1 ",
" c red",
". c red",
"X c red",
"o c red",
/* pixels */
" .",
"Xo"
};
Code: Select all
convert xc:red -scale 2x2 red.xpm
Code: Select all
/* XPM */
static char *red[] = {
/* columns rows colors chars-per-pixel */
"2 2 4 1 ",
" c red",
". c red",
"X c red",
"o c red",
/* pixels */
" .",
"Xo"
};
Code: Select all
convert -size 2x2 xc:red red.xpm
Code: Select all
/* XPM */
static char *red[] = {
/* columns rows colors chars-per-pixel */
"2 2 4 1 ",
" c red",
". c red",
"X c red",
"o c red",
/* pixels */
" .",
"Xo"
};
I did build the current release (6.9.3-7) just to verify, the problem exists at least since 6.8.9-9 as shipped with Ubuntu 15.10.Please, always mention your IM version and platform.