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.160018.27954@eng.umd.edu>
- Date: 20 Dec 92 16:00:18 GMT
- References: <1992Dec18.205429.4262@oakhill.sps.mot.com> <1992Dec19.004247.21482@netcom.com>
- Organization: Project GLUE, University of Maryland, College Park
- Lines: 17
-
- 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.) ;)
-
- Oops, my solution won't work for 16 and 24 bit depth. You'll have to
- create a destination GDevice or GWorld instead of a bit map. Then
- either make a bogus inverse table or put in your own color matching
- routines.
- --
- 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)
-