|
|
1.1 ! root 1: bm-convert.doc ! 2: Last revised by Ron Newman, September 14, 1987 ! 3: ! 4: "bm-convert" reads an X10-format bitmap file on the standard input ! 5: and writes out the equivalent X11-format bitmap file on the standard ! 6: output. It takes no command-line options of any kind, and does its ! 7: work without using an X server. ! 8: ! 9: An X10-format bitmap file contains an array of 16-bit hex constants ! 10: declared as "static short foo_bits[]", where "foo" is usually replaced by ! 11: a name derived from the name of the file. In X11 format, the declaration ! 12: is "static char foo_bits[]" and the hex constants are 8 bits wide. In ! 13: addition, the X10 format pads each scanline to a 16-bit boundary, ! 14: while X11 format pads only to an 8-bit boundary. ! 15: ! 16: For more information, look at the man page for the "bitmap" program, ! 17: and the descriptions of XReadBitmapFile, XCreateBitmapFromData, and ! 18: XPutImage in the Xlib manual. ! 19: ! 20:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.