Article View: adobe.postscript.programming
Article #51Re: stroke and fill
From: Aandi_Inston
Date: Thu, 24 Jul 2008 13:29
Date: Thu, 24 Jul 2008 13:29
20 lines
1587 bytes
1587 bytes
You can use colorimage, but it is a very inflexible way to define images. The level 2 image operator with dictionary is much more flexible. For example, you would need to use this if you wanted an Indexed color space. The colorimage operator just works with two color spaces, DeviceRGB (if number of components is 3), and DeviceCMYK (if number of components is 4). Note that "number of components" is not at all the same as "bits per component". With the image dictionary form there is no "number of components" setting because it uses the current color space, and therefore knows how many components to look for in the data. If you feel you can do a better conversion from RGB to CMYK than PostScript, then you can do this before using image or colorimage. Otherwise, if you currently have no idea how to do the conversion then you might as well let PostScript convert. Aandi Inston
Technical Details
Message-ID:
<488882c5.1015283740@adobeforums.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossingReferences:
<59b5e90e.-1@webcrossing.la2eafNXanI> <59b5e90e.13@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,59978ad8602309c9 X-Google-Attributes: gid10c61a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Aandi_Inston@adobeforums.com Newsgroups: adobe.postscript.programming Subject: Re: stroke and fill Message-ID: <488882c5.1015283740@adobeforums.com> Date: Thu, 24 Jul 2008 06:29:42 -0700 References: <59b5e90e.-1@webcrossing.la2eafNXanI> <59b5e90e.13@webcrossing.la2eafNXanI> Lines: 20 X-Newsreader: Forte Free Agent 1.21/32.243 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossing