Article View: adobe.postscript.programming
Article #160Re: stroke and fill
From: Jeffrey H. Coffield
Date: Fri, 08 Aug 2008 17:56
Date: Fri, 08 Aug 2008 17:56
30 lines
2408 bytes
2408 bytes
David_Cristian@adobeforums.com wrote: > I can see nobody wants to answer me ... anyway I managed to make it ... > > And now I have another thing, long leaved alone ... > When I create image resources, using a string, and not an array with ASCII85, how should I use the /DataSource entry in the dictionary? > > Can I declare the String as a resource in the > %%BeginSetup > > %%EndSetup > > and just use it (put it on the stack and use it after) > > Or some kind of a procedure ? > > David. See page 311, in the Postscript Language Reference, third edition for an example of using the currentfile as a /DataSource. Pushing a string that is image data on the stack is subject to memory limits. If you don't have this book and you are programming in Postscript get it. This method works well unless the same large image will be used many times, then if the printer (or rip) has a local disk that can be written to, you could write the images data to a file and reuse it many times. Jeff Coffield www.digitalsynergyinc.com
Technical Details
Message-ID:
<nN%mk.14772$LG4.13251@nlpi065.nbdc.sbc.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!flpi089.ffdc.sbc.com!prodigy.net!flpi088.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!nlpi065.nbdc.sbc.com.POSTED!cbb6f965!not-for-mailReferences:
<59b5e90e.-1@webcrossing.la2eafNXanI> <59b5e90e.67@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 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!flpi089.ffdc.sbc.com!prodigy.net!flpi088.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!nlpi065.nbdc.sbc.com.POSTED!cbb6f965!not-for-mail From: "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 Newsgroups: adobe.postscript.programming Subject: Re: stroke and fill References: <59b5e90e.-1@webcrossing.la2eafNXanI> <59b5e90e.67@webcrossing.la2eafNXanI> In-Reply-To: <59b5e90e.67@webcrossing.la2eafNXanI> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 30 Message-ID: <nN%mk.14772$LG4.13251@nlpi065.nbdc.sbc.com> NNTP-Posting-Host: 216.103.32.162 X-Complaints-To: abuse@prodigy.net X-Trace: nlpi065.nbdc.sbc.com 1218218195 ST000 216.103.32.162 (Fri, 08 Aug 2008 13:56:35 EDT) NNTP-Posting-Date: Fri, 08 Aug 2008 13:56:35 EDT Organization: at&t http://my.att.net/ X-UserInfo1: FKPO@MC@OXVMBUPYGJJ\OTTDEB\@PD\MNPWZKB]MPXHDUWYAKVUOPCW[ML\JXUCKVFDYZKBMSFX^OMSAFNTINTDDMVW[X\THOPXZRVOCJTUTPC\_JSBVX\KAOTBAJBVMZTYAKMNLDI_MFDSSOLXINH__FS^\WQGHGI^C@E[A_CF\AQLDQ\BTMPLDFNVUQ_VM Date: Fri, 08 Aug 2008 10:56:34 -0700