home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / 14162 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.0 KB

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