Page 1 of 1

eps to pdf conversion questions...

Posted: 2007-10-12T07:20:07-07:00
by Ic3Knight
I have a folder full of (about 200) .eps files which I need to convert to pdfs.

I have two problems though. When I do this for an individual file (i.e. convert blah.eps blah.pdf) the resolution/quality of the pdf is not very good compared to the .eps file. Is there a way to improve that at all?

Secondly, I'd like to convert all of the files in the folder, but they have individual names (i.e. they are not sequentially numbered or anything), it is vitally important that the new files keep the old names.

Any help would be greatly appreciated, I'm on a bit of a tight schedule with this!!

Cheers

Paul

Re: eps to pdf conversion questions...

Posted: 2007-10-12T07:24:07-07:00
by magick
Sounds like you want a vector tool. ImageMagick first converts the EPS to an image and the image is saved to PDF.

Re: eps to pdf conversion questions...

Posted: 2007-10-12T08:02:01-07:00
by Ic3Knight
Is there any way to specify the "quality" of the image before it's converted to pdf?

Also, how about the second part? i.e. how do I batch convert a large number of files with individual names such that they keep their file names and just get a new extension?

Re: eps to pdf conversion questions...

Posted: 2007-10-12T08:53:17-07:00
by magick
Use -density to increase the resolution of the image and therefore perceived quality of the resulting PDF. Here an example that renders at a higher resolution but resizes back to the original image size:
  • convert -density 400 image.eps -resize 25% image.pdf

Re: eps to pdf conversion questions...

Posted: 2007-10-16T17:40:48-07:00
by anthony
Or to preserve the size of the image in real-world units for a output device (display) of 100dpi

Code: Select all

   convert -density 400 image.eps -resample 100 image.pdf
WARNING: the above rasterizes the image...
See A word about Vector Image formats for more information.