da1n+@andrew.cmu.edu (Daniel K. Appelquist) (02/08/90)
I need a program (preferably for UNIX) which takes a postscript program and converts it into a smaller but equivelent program. Basically, what I'm trying to do is get my dvi-ps output as small as is humanly possible. Thanks... Dan A.
woody@rpp386.cactus.org (Woodrow Baker) (02/08/90)
In article <AZo77WS00Ui0Q1zEht@andrew.cmu.edu>, da1n+@andrew.cmu.edu (Daniel K. Appelquist) writes: > I need a program (preferably for UNIX) which takes a postscript program > and converts it into a smaller but equivelent program. Basically, what > I'm trying to do is get my dvi-ps output as small as is humanly possible. > humanly, or humanely ...... Seriously, the processing time might not be worth it for compression. You might try Glenn's PSDISTILLARY, and perhaps that will make it faster, but it probably will also make it larger. For a general compression routine, I think that a simple text substitution from a table might work, but I think I'd try something like a Lev-Zemple (I'm not sure thats the right spelling). In the PC world, there is a package written by Phil Katz, that is called pkzip. I think the docs outline the algo. they certainly are a good start anyway. i Cheers Woody