home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!swrinde!gatech!hubcap!ncrcae!ncr-sd!crash!photon.photon.com!paula
- From: paula@photon.com (Paula Solima)
- Subject: XImage and pixel values
- Message-ID: <1992Nov18.013524.4791@photon.com>
- Sender: usenet@photon.com (Usenet dummy users)
- Organization: Photon Research Associates, Inc.
- X-Newsreader: TIN [version 1.1 PL6]
- Date: Wed, 18 Nov 1992 01:35:24 GMT
- Lines: 18
-
- I have an array of pixel values ranging from 0 to 255. Is there
- a way to keep the full range of pixel values and use XCreateImage,
- without having my entire screen turn black? I see that I may
- limit the number of pixel values and place these values into the
- upper part of my colormap, but I would like be able to display all
- 256 values.
-
- There is a PseudoColor visual with 12 planes (colormap size = 4096)
- available on my Silicon Graphics, however I do see how XCreateImage
- would access colorcells > 255.
-
-
- Thanks in advance!
-
-
- ===================
- paula@photon.com
- ===================
-