home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!sh.wide!fgw!fdm!ace!melby
- From: melby@dove.yk.Fujitsu.CO.JP (John B. Melby)
- Newsgroups: comp.windows.x
- Subject: Re: bitmap format
- Message-ID: <MELBY.92Sep3081530@dove.yk.Fujitsu.CO.JP>
- Date: 3 Sep 92 08:15:30 GMT
- References: <1849iaINNkek@matt.ksu.ksu.edu>
- Sender: news@ace.yk.fujitsu.co.jp
- Organization: Open Systems Dept. Div. 2 Sect. 1, FUJITSU LTD.
- Lines: 16
- In-reply-to: kxb@matt.ksu.ksu.edu's message of 3 Sep 92 14:58:34 JST
-
- >Where can I find a description of the bitmap format?
-
- The same question twice in a week...anyway, this should be sufficient:
-
- An X11 bitmap file specifies the height, width, and hot spot (used for
- setting mouse cursors) of a bitmap, followed by the bitmap data
- (expressed as an array of unsigned character values in hexadecimal).
-
- A bitmap contains <height> lines of binary data arranged from top to
- bottom. Each line is expressed with roof(<width>/8) character values
- specifying the bits from left to right, smallest bit first.
-
- -----
- John B. Melby
- Fujitsu Limited, Yokohama
- melby%yk.fujitsu.co.jp@fai.com
-