home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!wupost!bcm!lib!oac2
- From: cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Blitting PixMaps with a mask
- Message-ID: <cshotton-140892085848@oac2.hsc.uth.tmc.edu>
- Date: 14 Aug 1992 14:02:13 GMT
- References: <14279@mindlink.bc.ca>
- Sender: usenet@lib.tmc.edu
- Followup-To: comp.sys.mac.programmer
- Organization: Academic Computing
- Lines: 26
- Nntp-Posting-Host: oac2.hsc.uth.tmc.edu
-
- In article <14279@mindlink.bc.ca>, John_Miller@mindlink.bc.ca (John Miller)
- wrote:
- >
- > In Message <cshotton-130892083933@bmb8.med.uth.tmc.edu>,
- > cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton) writes
- >
- > > I have a color image on a white background, residing happily in
- > > a gworld. I'd like to blit that image (without the white
- > > background) over another complex background. I KNOW I can do this
- > > with no problem if I use a region that matches the outline of the
- > > color image and CopyBits.
- >
- > I don't think you need a region or a mask. Specify "transparent"
- > mode in the call to CopyBits. (IM Volume V page 61)
- >
-
- Thanks, that works like a champ. I'd tried it with CopyDeepMask, and didn't
- like the "see thru" results and guess I never bothered to try it with plain
- ol' CopyBits.
-
- --_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
- Chuck Shotton |
- Ass't Director, Academic Computing | "This space for rent."
- UT Health Science Center Houston |
- cshotton@oac.hsc.uth.tmc.edu |
- _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
-