Page 1 of 1

EPS as ASCII? - File size issues...

Posted: 2007-07-27T08:57:31-07:00
by jroduk
I am converting PDF files to EPS files using -density 300x300 to maintain the quality of the image after the conversion but the resulting files are comparatively large (22MB per page for a letter size dcoument) relative to EPS files from the same document generated manually in Acrobat.

Is is possible to use convert to create ASCII based EPS files rather than Binary?

Any suggestions welcome.
Neil

Re: EPS as ASCII? - File size issues...

Posted: 2007-07-27T10:38:08-07:00
by magick
Don't use ImageMagick to convert PDF to EPS. ImageMagick is a pixel-based application so your PDF is saved as pixels rather than vectors. You can create an ASCII-based EPS by adding the -compress none option to your command line.

Re: EPS as ASCII? - File size issues...

Posted: 2007-07-27T11:31:59-07:00
by jroduk
I suspected as much. Are you aware of any open source applications that would save my EPS files as vectors rather than pixels? :)

Re: EPS as ASCII? - File size issues...

Posted: 2007-08-09T21:38:37-07:00
by anthony
You can just read your image in using 'acroread' which is free. and have it 'print' the pdf into a ps file!

eps: is just a single page postscript file with a extra "%%BoundingBox" entry.
Ghostscript has a utility to figure out a bounding box to add into a postscript file.
It can also create EPSI files with also has a binmap 'preview' image in the comments of the file.

Re: EPS as ASCII? - File size issues...

Posted: 2007-08-10T08:30:14-07:00
by jroduk
I had ended up using Ghostscript with epswrite as the output format and got the results I was looking for.
Thanks for the response.
Neil