home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!mojo.eng.umd.edu!russotto
- From: russotto@eng.umd.edu (Matthew T. Russotto)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: PICT2 -> Bitmap shortcuts?
- Message-ID: <1992Dec20.155815.27888@eng.umd.edu>
- Date: 20 Dec 92 15:58:15 GMT
- References: <1992Dec18.205429.4262@oakhill.sps.mot.com> <1992Dec19.004247.21482@netcom.com>
- Organization: Project GLUE, University of Maryland, College Park
- Lines: 16
-
- In article <1992Dec19.004247.21482@netcom.com> james@netcom.com (James L. Paul) writes:
- >
- >On a related topic, (I haven't looked into this yet, but...) Is there a
- >simple way to grab a mask of a pixmap that gets _all_ of the non-white
- >pixels, not just the darker colors? I'm sure there's a straightforawrd way,
- >I just haven't thought of how to keep CopyBits from mapping lightly saturated
- >colors to white yet... (grrrrr.) ;)
-
- Just for the copy, give the pixmap a bogus color table where all the
- non white colors have RGB value (0,0,0).
-
- --
- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu
- Some news readers expect "Disclaimer:" here.
- Just say NO to police searches and seizures. Make them use force.
- (not responsible for bodily harm resulting from following above advice)
-