File Exchange

image thumbnail

eps2xxx

version 1.0 (5.14 KB) by

Converts an EPS file to several other formats (PDF, JPG, PNG, TIFF).

4.44444
9 Ratings

28 Downloads

Updated

View License

EPS2XX can convert an existing EPS file to 4 other formats: PDF, JPG, PNG, and TIFF (one at a time or several at once) using Ghostscript. EPS2XX reads an eps file, modifies the bounding box and creates output file(s) file whose size is/are determined by the bounding box from the eps file and not by the paper size. This can not be accomplished by using Ghostscript only.

This tool is especially suited for LaTeX (TeX) users who want to create pdf documents on the fly (by including pdf graphics and using either pdftex or pdflatex). An example would be, if you are using LaTeX (TeX) to typeset documents then the usual (simple) way to include graphics is to include eps graphics using for example (if there exists myfigure.eps)

\begin{figure}
\centering
\includegraphics[scale=0.8]{myfigure}\\
\caption{some caption.}
\end{figure}

To use pdflatex (pdftex) you do not need to change anything but provide another file myfigure.pdf in the same directory along with myfigure.eps. And this file, of course, can be generated by EPS2XXX.

Comments and Ratings (12)

Chen

Chen (view profile)

Why I have this error:
"pdfError: failed running Ghostscript - check GS path
jpegError: failed running Ghostscript - check GS path
pngError: failed running Ghostscript - check GS path
tiffError: failed running Ghostscript - check GS path"?
Thanks a lot!

Super! Thanks a lot :-)

Barbara

Barbara (view profile)

Fernando

How to convert several eps files at once, or better append several eps files in one pdf file?

Leo Ka

Leo Ka (view profile)

Super!

Roel Hogenhuis

I tried to run eps2xxx, however I get this warning:

'bad command line option: -q -dNOPAUSE -dBATCH -dDOINTERPOLATE -dUseFlateCompression=true -sDEVICE=jpeg -r300 -sOutputFile="C:\Temp\plot.jpg" -f "C:\Temp\plot.ps.eps2xxx~"

Does anybody know how to solve this problem,

Greetings,

Roel

Mark Tschopp

This script worked well for pdf, jpg and png files. The tif file conversion did not look good for eps image files, though. For pdfLaTex documents, the pdf conversion in this tool and eps2pdf is handy, though.

Nevzat Simsek

David Sterling

Well done -- finally an simple script to squeeze the unnecessary white space out of eps files to make them (and resulting pdf files) more suitable for inclusion in LaTeX documents.

Z. Zheng

exactly what i need. thanks a lot!

D. Cysarz

Useful tool! Needs some minor modifications ('strfind' must be exchanged by 'findstr' and '||' must be exchanged by '|') under Matlab R12.

tobias fuhrer

nice. very useful to circumvent (via eps export) font and quality problems exporting matlab graphs.

MATLAB Release
MATLAB 7.0.1 (R14SP1)
Acknowledgements

Inspired: BaFigExPro (v. 2.7)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today