On 24 Oct 99, 20:31, Roam Fan wrote:
> Where can I find the format of XBM( X window BitMap) in detail?
cite:
Graphics File Formats FAQ Part III:
Where to Get File Format Specifications
http://www.cs.ruu.nl/wais/html/na-dir/graphics/
---begin excerpt---
fileformats-faq/part3.html
Subject: XBM - X BitMap
Type:
Extension:
Version:
Compression:
Color Depth:
Maintainer:
Specification:
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. XBM files
are quite different in that they are actually C language source files
that are created to be read by a C compiler rather than a graphical
display program.
XBM data is typically found in headers (.h files) and are a series of
static unsigned char arrays containing the monochrome pixel data. There
is one array per image stored in the header.
XBM was created by the X Consortium as part of the X Window System.
Refer to the /bitmaps directory of the X Window distribution for
examples of XBM files. The central FTP distribution site for X version
11 is:
ftp://ftp.x.org
Reference works describing XBM include:
Xlib-C language X Interface, Gettys, James, and Robert W. Scheiffler,
Consortium Standard, X Version 11, Release 5, First Revision, August
1991.
Xlib Programming Manual, Nye, Adrian, third edition, O'Reilly &
Associates, Inc. Sebastopol, CA, 1992.
---end excerpt---
Hint: I ventured into ftp.x.org for you and I believe you will want to
travel this path to your bitmap directory:
ftp://ftp.x.org/contrib/bitmaps/
...or
http://ftp.x.org/contrib/bitmaps/
Alan
[EMAIL PROTECTED]