EPS as ASCII? - File size issues...

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
jroduk

EPS as ASCII? - File size issues...

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
jroduk

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

Post 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? :)
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

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

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
jroduk

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

Post 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
Post Reply