Nick Maroulis
Nick Maroulis

Reputation: 487

Tool for batch processing EPS to JPG

Does anyone know of a adobe command line tool for creating jpegs from pdfs. This needs to cater for EPS 15 ( CS5 )?

I am converting EPS files to hi-res JPEGS with imagemagic but the results are mediocre even when the EPS is scanned at a very high-res. I think imagemagic works off the eps preview rather than rasterizing the vector.

GIMP is a bit better but not perfect.

Photoshop produces perfect jpegs but I dont know of a command line utility for this and have used the scripting tools but found them a pain on large batches.

I have distiller server but this ( to my knowledge ) does not produce jpegs.

Upvotes: 4

Views: 4370

Answers (6)

SpliFF
SpliFF

Reputation: 39004

Inkscape is a mature free vector graphics program with commandline import/export options. I would be happy to test its ability to handle EPS15 but I don't have CS5 or any documents in that format. If you can post a link I'll try it out.

Upvotes: 0

PA.
PA.

Reputation: 29349

I would give GraphicsMagick http://www.graphicsmagick.org a try. It's a fork of Image Magick, more complete and updated.

It internally uses GhostScript as the PS interpreter, it does not use the embedded image but it completely renders the postscript.

For best results, make sure that you work at the right density. Instead of the PostScript standard of 72 DPI, try

gm convert -density 144 infile.eps outfile.jpg 

with different -density values and see if the quality improves.

Upvotes: 2

whoplisp
whoplisp

Reputation: 2518

You could try ghostscript:

gs -sDEVICE=ppmraw -sOutputFile=file%d.ppm -r600 -dNOPAUSE yourfile.ps -c quit

Upvotes: 3

KARASZI István
KARASZI István

Reputation: 31467

If you're out of luck to find a command line tool for this, you can create a macro to script GIMP or Photoshop to do the job.

You have not mentioned the operating system, but if you're using OS X you can write an AppleScript which will do the converting through commanding the GUI programs.

In Windows you can download a macro recorder program, but I have no experience with that in the new versions of Windows.

Upvotes: 1

Related Questions