▲ | bitwize 3 days ago | |
X11 supports all sorts of obsolete pixel formats, including 1bpp mono, 4bpp and 8bpp indexed color, and 16bpp "high color" modes. In order to display an image in X11, you need to understand the pixel size, organization, and how colors are mapped to pixel values (all of which are available in a data structure called a visual). |