home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!timbuk.cray.com!walter.cray.com!vincent
- From: vincent@cadillac.cray.com (Vincent LE BARAZER)
- Subject: 256 grayscale levels with standard colormap
- Message-ID: <1992Sep2.040959.16164@walter.cray.com>
- Originator: vincent@cadillac
- Keywords: Colormap Grayscale
- Sender: vincent@cadillac (Vincent LE BARAZER)
- Organization: Cray Research, Inc.
- Date: 2 Sep 92 04:09:58 CDT
- Lines: 24
-
-
- Hi everybodyx,
-
- I'd like to create an X application that draw lines of pixels, with
- color level from 0 to 255 in a Grayscale visual.
- This application has to work either on 8 planes grayscale servers or
- on 24 planes color server.
-
- My first step was to Create a new colormap, allocate 256 levels of gray
- pixels ( red = green = blue ), and install this colormap .
-
- ... but other X clients running on the same server do not like this new
- colormap !
-
- So , how can I handle 256 gray levels without changing the color map ?
- I suppose that the Visual type has something to do with this ??....
-
- Many thanx in advance for your help,
-
- Vincent Le Barazer
- Cray Research France
- Email: vincent@cray.com
-
-
-