|
|
How do I reduce the size of postscript figure files? |
| The following answer is taken vertabim from the FAQ at the Front for the Mathematics ArXiv http://front.math.ucdavis.edu/ifaq#3.3; check there for updates.
------------------------ begin answer ---------------------------------3.3 My Postscript figure files are bloated.
You can usually reduce or eliminate Postscript bloat if you understand your Postscript. Computers cannot understand Postscript well enough to do it automatically, because Postscript, like TeX, is a full-fledged programming language. However, two Unix utilities can often fix the problem: * convert is a bitmap-based image conversion program which is part of the
ImageMagick graphics package. It interconverts nearly 100 different image
formats, including several kinds of Postscript.
* eps2eps, which is part of the ghostscript package, converts fancy Postscript
to simple Postscript. The output is frequently much shorter than the input,
even though it is functionally identical. However, it does not help much
with bitmaps.
Here are three possible reasons that your Postscript might be bloated, together with suggested remedies.* The file is a huge bitmap. This is usually because the resolution is substantially higher than necessary, because it is a black-and-white diagram saved as a full-color photograph, or because it is encoded inefficiently (using as many as 12 bytes per pixel). If you include the figure in your TeX document without rescaling it, then you should try: 2001-Oct-09 1:57pm furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2001-Oct-09 1:57pm |
| Previous: |
|
| Next: |
|
| ||||||||||