home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!zaphod.mps.ohio-state.edu!malgudi.oar.net!hyperion!desire.wright.edu!cse0935
- From: cse0935@desire.wright.edu
- Newsgroups: comp.graphics
- Subject: X RGB HELP!!!
- Message-ID: <1993Jan24.153439.6768@desire.wright.edu>
- Date: 24 Jan 93 15:34:39 EST
- Organization: Wright State University
- Lines: 20
-
-
- HELP!!!!
-
- hello, i know this is a stupid question. And some will say RTFM, but
- I have a graphics project deadline, and still have much to finish.
-
- I can write a ppm file and display it using xloadimage, but i would
- much rather display the image myself with X.
-
- how can i dither/display a pixel, given its RGB values( each 8-bit ), with
- X calls. I'm not looking for the best dithering( i have tried using
- 3 bits from R, 3 from G, and 2 from B and setting using XForeground,
- but seems it way off. )
-
- thanks,
- jp4.
- -----------------------------------------------
- CSE0935@desire.wright.edu or
- jprikkel@discover.wright.edu( 130.108.125.1 )
- -----------------------------------------------
-