home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / cplus / 18425 < prev    next >
Encoding:
Text File  |  1992-12-25  |  1.1 KB  |  34 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!spool.mu.edu!agate!rsoft!mindlink!a7657
  3. From: a7657@mindlink.bc.ca (Stephen H. Kawamoto)
  4. Subject: X-Windows graphics
  5. Organization: MIND LINK! - British Columbia, Canada
  6. Date: Fri, 25 Dec 1992 18:42:25 GMT
  7. Message-ID: <18891@mindlink.bc.ca>
  8. Sender: news@deep.rsoft.bc.ca (Usenet)
  9. Lines: 23
  10.  
  11. Image Alchemy (Version 1.6) is neat in that it can read as well as write
  12. X-Window graphics files (color) with suffix .XPM.
  13.  
  14. The thing is, .XPM files are C code with #DEFINEs for format, width, height,
  15. number of colors,characters per pixel, a static character array for
  16. substitution of 6byte hex field with 2-byte character field, and the encoded
  17. picture field (also array, of pixels).
  18.  
  19. Is there any code to write to a standard VGA screen using the EGA/VGA mode
  20. numbers?
  21.  
  22. As well, does anyone with X-Windows want to have a few small 320x200x256
  23. samples to try out?
  24.  
  25. Email would be convenient.
  26.  
  27. --
  28. Stephen Kawamoto <a7657@mindlink.bc.ca>
  29.     "It is the very mind itself
  30.      That leads the mind astray;
  31.      Of the mind,
  32.      Do not be mindless."
  33.      (an old Japanese folk song)
  34.