home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!usc!cs.utexas.edu!swrinde!ringer!rhanuman
- From: rhanuman@ringer.cs.utsa.edu (Raghu Hanumanthaiah)
- Subject: Color in XImage?
- Message-ID: <1992Nov8.080422.12600@ringer.cs.utsa.edu>
- Organization: University of Texas at San Antonio
- Date: Sun, 8 Nov 1992 08:04:22 GMT
- Lines: 11
-
- I have an array of pixels and each pixel has 3 8-bit components
- (red, green, blue) which define the color of the pixel.
- How do I pass this information to the XImage structure so
- as to may it recognize the proper RGB values and render them
- appropriately?
- I think I am not calling the XCreateImage() routine with the
- proper arguments.
-
- Thanks a lot of any help in advance,
- Raghu
- rhanuman@ringer.cs.utsa.edu
-