Created
June 29, 2016 09:35
-
-
Save halcwb/991851aefa78675238ee3e5b3e289ba6 to your computer and use it in GitHub Desktop.
Convert a pdf file to eps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# $Id: pdf2eps,v 0.01 2005/10/28 00:55:46 Herbert Voss Exp $ | |
# Convert PDF to encapsulated PostScript. | |
# usage: | |
# pdf2eps <page number> <pdf file without ext> | |
pdfcrop $2.pdf | |
pdftops -f $1 -l $1 -eps "$2-crop.pdf" | |
rm "$2-crop.pdf" | |
mv "$2-crop.eps" $2.eps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment