Bounding EPS figures in ps2pdf

If you use ps2pdf command to convert an EPS file into PDF, the output PDF is on letter size paper, not bounded by the image itself. This is very annoying when, for example, you wanna use the PDF in a LaTeX file to be compiled by PDFLaTeX.

After googling around, I found a solution: using -dEPSCrop option, like this:

ps2pdf -dEPSCrop shakey2.eps shakey2.pdf

Reference: http://www.linuxquestions.org/questions/linux-software-2/ps2pdf-bounding-box-and-page-size-problem-454441/


No comments: