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