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


No comments: