The X Bitmap format and an example:
#define xlogo16_width 16
#define xlogo16_height 16
static unsigned char xlogo16_bits[] = {
0x0f, 0x80, 0x1e, 0x80, 0x3c, 0x40, 0x78, 0x20, 0x78, 0x10, 0xf0, 0x08,
0xe0, 0x09, 0xc0, 0x05, 0xc0, 0x02, 0x40, 0x07, 0x20, 0x0f, 0x20, 0x1e,
0x10, 0x1e, 0x08, 0x3c, 0x04, 0x78, 0x02, 0xf0};
Icon examples from 9/19 class (XBitmap on left, regular order on right.)
Pixels in the BAM sign – full image · zoomed in
Similar subpixelization of an image, just like the BAM sign.
Click on Subpixelized Bart and zoom in with control-plus. You’ll see that the yellow regions of the image are made up only of red and green lights.
What the hex color guessing game