X BitMap
xbm: 4 specs
- Media type
- image/x-xbitmap
- Extensions
- xbm
- Specification
- https://www.x.org/releases/current/doc/libX11/libX11/libX11.pdf
- Judged by
- pillow, imagemagick, ffmpeg
Specs
| Spec | What it is | Version | Status | How it does |
|---|---|---|---|---|
| xbm/xbm | X11 (unsigned char/char) and X10 (short) XBM dialects, with and without a cursor hotspot | 1.0 | accepts 100%, covers 86.7%, 2.3/s | |
| xbm/xbm-boundary | Same as xbm, with values taken from the edges of what the format allows (dimensions that stress ceil() row padding, a degenerate 0x0 bitmap, and hotspot values parsers rarely range-check) | 1.0 | accepts 100%, covers 88.3%, 9.1/s | |
| xbm/xbm-guards | Same dialects as xbm, wrapped in #ifndef include guards or nested #if preprocessor conditionals, with both hotspot-define orderings and large/asymmetric geometries | 1.0 | accepts 100%, covers 86.7%, 151/s | |
| xbm/xbm-lexical | Same dialects as xbm, with the surrounding C lexical detail varied instead of the geometry (a few identifier stems, inline comments, variable-width hex literals, optional trailing comma), for sizes of 8 to 32 pixels | 1.1 | accepts 0%, covers 76.7%, 36/s |