如何将eps或者ps文件缩小

笔者在将文章post到arXiv上的时候,需要将eps缩小,找到了这种方法.(pdf 文件为本地通过latex, eps生成的pdf文件)

  • inkscape input.pdf --export-eps=output.eps
    
    以下为原文.

I recommend the following tools:

  • Inkscape (Vector graphic editor, free & multi-platform)

    Can be either used using the GUI (open PDF, save as EPS) or using the command line (tested under Linux only):

    inkscape input.pdf --export-eps=output.eps
    
  • Acrobat Reader (Linux Version) + ps2eps (TeXLive)
    acroread -toPostScript input.pdf
    ps2eps input.ps
    
  • Ghostscript (multi-platform) Note: -dNOCACHE is needed to prevent GhostScript from rastering the fonts.
    gs -q -dNOCACHE -dNOPAUSE -dBATCH -dSAFER -sDEVICE=eps2write -sOutputFile=output.eps input.pdf
    

There are also the following tools. I didn’t tested all of them and some raster the fonts 🙁 !

  • ImageMagick convert (which might use Ghostscript itself. Calling it manually if more flexible and might avoid issues. convert might actually raster the PDF!)
    convert input.pdf output.eps
    
  • pdf2ps (uses Ghostscript) + ps2eps (comes with TeXLive)
  • pdftops (part of poppler), use the -eps switch for EPS output.

Note that EPS format does not handle transparency !

转载自https://tex.stackexchange.com/questions/20883/how-to-convert-pdf-to-eps