🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5359

Re: Color Images in PostScript

#5359
From: Kevin Draz
Date: Mon, 15 Apr 1991 20:41
35 lines
1995 bytes
>There must be more information around, but I'm afraid I haven't got it at this
>time.  Would some kind soul tell me how to get a color image -- preferably
>from the separations -- and also what manuals/ref books I can look in to
>find more on this subject?
>
>Many Thanks,
>Paul Whitbread
>pxw@augean.ua.oz.au
>
>

Paul,

The operator(s) you are looking for can be found in several reference
documents.  One is the "Postscript Language Reference Manual, second ed."
by Adobe Systems, Inc., Pub. Addison Wesley, ISBN 0-201-18127-4, 1990.  This
book might be called the "Red book for level 2."

Another document is the "Postscript Language Color Operator Definitions"
pamphlet.  It describes the color extensions made to Level 1 for cmyk color
processing. It was available on the Adobe File Server last time I looked
(ps-file-server@adobe.com) Try sending it mail with the command "send
documents index" in the body of the message.  You could also try calling
Adobe at 415-961-0911 and asking for it.

The operators you want are "setcmykcolor" and "colorimage".  setcmykcolor
takes four real arguments on the stack in the range 0-1 inclusive,
representing percentage of that primary to apply to subsequent drawing
operations.

The "colorimage" operator can use either rgb or cmyk raster data, much like
the image operator.  It's description gets a little windy, however. I would
refer you to the above for details.

KevinD
Technical Details
Message-ID: <10736@pogo.WV.TEK.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think.com!mintaka!ogicse!zephyr.ens.tek.com!orca.wv.tek.com!pogo!kevind
References: <1031@augean.ua.OZ.AU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think.com!mintaka!ogicse!zephyr.ens.tek.com!orca.wv.tek.com!pogo!kevind
From: kevind@pogo.WV.TEK.COM (Kevin Draz)
Newsgroups: comp.lang.postscript
Subject: Re: Color Images in PostScript
Keywords: Help, Color,PostScript, Images.
Message-ID: <10736@pogo.WV.TEK.COM>
Date: 15 Apr 91 20:41:38 GMT
References: <1031@augean.ua.OZ.AU>
Reply-To: kevind@pogo.WV.TEK.COM (Kevin Draz)
Organization: Tektronix, Inc., Wilsonville,  OR.
Lines: 35