Created
April 30, 2017 16:14
-
-
Save bmmalone/875025f218b7a43f79fecdac2f16b1cb to your computer and use it in GitHub Desktop.
Add a bounding box to the eps figure using epstool and convert it to png
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
#! /usr/bin/env bash | |
epstool --copy --bbox $1.eps $1.bb.eps | |
rm $1.eps | |
mv $1.bb.eps $1.eps | |
convert $1.eps $1.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment