home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / graphics / 12214 < prev    next >
Encoding:
Text File  |  1992-11-21  |  859 b   |  24 lines

  1. Newsgroups: comp.graphics
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!destroyer!gumby!yale!admiral!dave
  3. From: dave@admiral.uucp (Dave Litchman)
  4. Subject: Re: How to inverse am image?
  5. Organization: The Admiral's Unix System & The Grid BBS
  6. Date: Sun, 22 Nov 1992 01:32:27 GMT
  7. Message-ID: <1992Nov22.013227.8609@admiral.uucp>
  8. References: <1992Nov21.021401.6829@sparc4.ncu.edu.tw>
  9. Lines: 13
  10.  
  11. In article <1992Nov21.021401.6829@sparc4.ncu.edu.tw> u438813@imux120.ncu.edu.tw writes:
  12. >I want to inverse a pixmap in X window.
  13. >Thanks.
  14. >
  15.  
  16. You mean a color inversion? Well, one way is to take the RGB value of each pixel
  17. and subtract it from a pure white value...
  18.  
  19.  
  20. -- 
  21. "Dammit Jim, I'm a free man, not a number!"
  22. ----------------------------------------------------------------------
  23. "Ray, when somebody asks you if you're a god, you say YES!" -- Winston Zeddmore
  24.