Skip to content

Instantly share code, notes, and snippets.

@bmmalone
Created April 30, 2017 16:13
Show Gist options
  • Save bmmalone/8f729b7a7f20971043c804abeda3f700 to your computer and use it in GitHub Desktop.
Save bmmalone/8f729b7a7f20971043c804abeda3f700 to your computer and use it in GitHub Desktop.
Use epstool to add a tight bounding box around the given eps figure
#! /usr/bin/env bash
epstool --copy --bbox $1.eps $1.bb.eps
rm $1.eps
mv $1.bb.eps $1.eps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment