XBM is a simple monochrome text based bitmap format that is primarily intended for storage of cursor and icon bitmaps for use in the X graphics user interface. XBM is a native file format of The X Window System and is used for storing cursor and icon bitmaps that are used in the X GUI. The data is formatted and stored as a C language file and can directly be compiled into a software program.
Since none of the bitmap data is represented as binary numers, the format lends itself to environments where values outside the ASCII printable range would be a problem. For example, XBM images can be imbedded into HTML documents directly rather than linked in with the SRC tag.
HTML Bitmap Graphics Dynamic Inline Image generation. Sample XBM Script. VBScript Image Class - Create and manipulate bmp and pcx files.
Dynamic Inline Image generation
HTML / JavaScript Dynamic Inline page counter via XBM Image Generation
JavaScript: The Definitive Guide