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
Advertisement
Very helpful. I was able to convert a file that Imagemagick would not so now I know the problem is not Ghostscript.
Hello
I know how to convert eps format to jpeg format
but i don’t know how to convert from jpeg format to eps format
So,please give me reaply as well as possbile in my email id
Try ‘convert myoldfile.jpg mynewfile.eps’
It works with almost any image format.
Very helpful, thanks a lot!
When the simple “convert myfile.eps myfile.jpg” doesn’t work properly, your solution gives a perfect conversion!!!! You can’t imagine how happy I am. You just solved a huge problem in my thesis presentation!!!!!!