🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #8941

Re: How to paint a non-rectangular image?

#8941
From: Amanda Walker
Date: Sat, 10 Feb 1990 01:46
17 lines
1162 bytes
In article <4829@helios.ee.lbl.gov>, jef@ace.ee.lbl.gov (Jef Poskanzer) writes:
> I could do it by lasooing the border of the 1-bit mask and converting
> it into a clipping list, but that seems extremely grody.  Does anyone
> see a better way?

What I would do is to do two imagemask commands.  The first paints the
mask bitmap with white, and the second paints the image bitmap in black
(or whatever).

This gets the effect I think you want :-).

--
Amanda Walker
InterCon Systems Corporation

"Many of the truths we cling to depend greatly upon our own point of view."
	--Obi-Wan Kenobi in "Return of the Jedi"
Technical Details
Message-ID: <1990Feb10.014607.7631@intercon.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!uunet!intercon!news
References: <4829@helios.ee.lbl.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!uunet!intercon!news
From: amanda@mermaid.intercon.com (Amanda Walker)
Newsgroups: comp.lang.postscript
Subject: Re: How to paint a non-rectangular image?
Message-ID: <1990Feb10.014607.7631@intercon.com>
Date: 10 Feb 90 01:46:07 GMT
References: <4829@helios.ee.lbl.gov>
Sender: @intercon.com
Reply-To: amanda@mermaid.intercon.com (Amanda Walker)
Organization: InterCon Systems Corporation, Sterling, VA
Lines: 17