home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / x / 16079 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.0 KB

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