Posts Tagged 'convert'

Convert eps files to jpg in Linux

To convert from eps to jpg using ghostscript:

gs -sDEVICE=jpeg -dJPEGQ=100 -dNOPAUSE -dBATCH -dSAFER -r300 -sOutputFile=myfile.jpg myfile.eps

This produces huge files. You can trim and resize them in image magick:

mogrify -trim -resize 800x600 myfile.jpg