2

I use GIMP a lot on my linux machine to convert, modify and transform my pics especially EPS. I was wondering if there is the possibility to automatically transform an EPS into another format or a generic pic format into EPS without importing/exporting manually? Is there any possibility?

Thank you

Nicholas
  • 1,915
  • 31
  • 55

1 Answers1

3

Since you are on Linux, why don't you give Imagemagick a shot? Another option (depending on the complexity of your EPS) is GhostScript.

To convert your EPS to JPG you could use something like:

convert -density 300 image.eps -resize 1024x1024 image.jpg

See also this question for more information.

EDIT:

Convert multiple files in the shell (untested, filenames must not contain space!):

for i in *.eps; do convert -density 300 ${i} ${i%eps}jpg; done

If you have filenames with spaces, you will have to use find.

Community
  • 1
  • 1
Ocaso Protal
  • 19,362
  • 8
  • 76
  • 83
  • I don't need to resize. Just to convert as it is. Thanks for the tip. Do you know how to process all the files without writing a bash script? – Nicholas Feb 26 '13 at 10:10
  • your automatic script works perfectly. Great. Thank you so much! – Nicholas Feb 26 '13 at 20:39