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