Created
January 20, 2016 12:05
-
-
Save anonymous/f6dea3e1dc9fd9831ef8 to your computer and use it in GitHub Desktop.
Mass convert EPS to PNG files
This file contains hidden or 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
for i in *.eps; do gs -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 -sDEVICE=pngalpha -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dUseCIEColor -r300x300 "-sOUTPUTFILE=$i.png" "$i"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment