Skip to content

Instantly share code, notes, and snippets.

@lyashevska
Created November 9, 2017 11:39
Show Gist options
  • Save lyashevska/69d01c08ee7fa435be767b17b3c2040b to your computer and use it in GitHub Desktop.
Save lyashevska/69d01c08ee7fa435be767b17b3c2040b to your computer and use it in GitHub Desktop.
batch conversion of eps to png in bash
for f in `ls *.eps`; do
convert -density 100 $f -flatten ${f%.*}.png;
done
@aterreno
Copy link

Awesome script to convert eps to png!

Worth mentioning that you need ghostscript and imagemagick installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment