X BitMap is an actively used application created in 1989. In computer graphics, the X Window System used X BitMap (XBM), a plain text binary image format, for storing cursor and icon bitmaps used in the X GUI. The XBM format is superseded by XPM, which first appeared for X11 in 1989.. Read more on Wikipedia...

31Years Old 20Users ?Jobs
  • X BitMap ranks in the top 25% of languages
  • the X BitMap wikipedia page
  • X BitMap first appeared in 1989
  • file extensions for X BitMap include xbm
  • See also: c, x-pixmap
  • Have a question about X BitMap not answered here? Email me and let me know how I can help.

Example code from Linguist:

#define image_width 32
#define image_height 32
static unsigned char image_bits[] = {
	0x00, 0xF0, 0x0F, 0x00,
	0x00, 0xFE, 0x7F, 0x00,
	0x00, 0xFF, 0xFF, 0x00,
	0xC0, 0x1F, 0xF8, 0x03,
	0xE0, 0x03, 0xC0, 0x07,
	0xF0, 0x01, 0x00, 0x0F,
	0x78, 0x00, 0x00, 0x1E,
	0x38, 0xC0, 0x0F, 0x3C,
	0x3C, 0xE0, 0x1F, 0x38,
	0x3E, 0xF0, 0x1F, 0x78,
	0xFE, 0xF9, 0x1F, 0x70,
	0xFE, 0xFF, 0x1C, 0x70,
	0xEF, 0x7F, 0x00, 0xE0,
	0x07, 0x7F, 0x00, 0xE0,
	0x07, 0xFE, 0x03, 0xE0,
	0x07, 0xFE, 0x0F, 0xE0,
	0x07, 0x9E, 0x3F, 0xE0,
	0x07, 0x1E, 0xFE, 0xE0,
	0x07, 0x3E, 0xF8, 0xE3,
	0x0F, 0x7E, 0xE0, 0xFF,
	0x0E, 0xFC, 0x9C, 0xFF,
	0x0E, 0xFC, 0x1F, 0x7E,
	0x1E, 0xF8, 0x1F, 0x78,
	0x1C, 0xF0, 0x1F, 0x38,
	0x38, 0xE0, 0x0F, 0x3C,
	0x78, 0x00, 0x00, 0x1E,
	0xF0, 0x00, 0x00, 0x0F,
	0xE0, 0x03, 0xC0, 0x07,
	0xC0, 0x0F, 0xF0, 0x03,
	0x80, 0xFF, 0xFF, 0x01,
	0x00, 0xFE, 0x7F, 0x00,
	0x00, 0xF0, 0x1F, 0x00,

Example code from Wikipedia:

#define test_width 16
#define test_height 7
static char test_bits[] = {
0x13, 0x00, 0x15, 0x00, 0x93, 0xcd, 0x55, 0xa5, 0x93, 0xc5, 0x00, 0x80,
0x00, 0x60 };

Last updated August 9th, 2020

Edit X BitMap on GitHub