Article View: adobe.postscript.programming
Article #179Re: stroke and fill
From: Aandi_Inston
Date: Wed, 20 Aug 2008 13:51
Date: Wed, 20 Aug 2008 13:51
15 lines
1366 bytes
1366 bytes
It is over 10 years since I did any work on LZW, so I can't really help you with that. You could use an LZWEncode filter, but be aware that there is more than one way to encode the same data. GhostScript uses a curious non-compressing method. The algorithm only really defines how to decompress. That's fine, you just have to contruct a stream which decompresses to the target you want. You are also using ASCII85. This is superficially simple, but can introduce errors of its own. While working on LZW, I recommend using ASCIIHex instead, to be sure of your data (and make it much easier to read). Aandi Inston
Technical Details
Message-ID:
<48ac20c0.3349225862@adobeforums.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!news.k-dsl.de!news.tornevall.net!news4us.nl!webcrossingReferences:
<59b5e90e.-1@webcrossing.la2eafNXanI> <59b5e90e.74@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: <48ac20c0.3349225862@adobeforums.com> Date: Wed, 20 Aug 2008 06:51:05 -0700 References: <59b5e90e.-1@webcrossing.la2eafNXanI> <59b5e90e.74@webcrossing.la2eafNXanI> Lines: 15 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!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!news.k-dsl.de!news.tornevall.net!news4us.nl!webcrossing