Code: Select all
convert gfx1.xpm -set colorspace Gray -depth 8 gfx1.bin
(I tested PNM files, and they're nice, but getting them into nice dimensions wasn't as pretty as I liked, and it inevitably involves changing the file format.)
Code: Select all
convert gfx1.xpm -set colorspace Gray -depth 8 gfx1.bin