home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 20112 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.2 KB

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