EPSTOPDF(1)

NAME
epstopdf, repstopdf - convert an EPS file to PDF

SYNOPSIS
epstopdf [options] [epsfile]

DESCRIPTION
epstopdf transforms the Encapsulated PostScript file epsfile (or standard input) so that it is guaranteed to start at the 0,0 coordinate, and it sets a page size exactly corresponding to the BoundingBox. This means that when Ghostscript renders it, the result needs no cropping, and the PDF MediaBox is correct. By default, the result is piped to Ghostscript and a PDF version written.

If the bounding box is not right, of course, there are problems.

OPTIONS

--outfile=file
    write result to file; the default is to construct the output file name by replacing any extension in the input file with .pdf. If --nogs or --filter is specified, write to standard output.

--[no]compress
    use compression (default: on).

--[no]debug
    write debugging info (default: off).

--[no]embed
    embed fonts (default: on).

--[no]exact
    scan ExactBoundingBox (default: off).

--[no]filter
    read standard input (default: off).

--[no]gs
    run ghostscript (default: on).

--[no]hires
    scan HiresBoundingBox (default: off).

--gscmd=val
    pipe output to val (default: [gswin32c on Windows, else gs])

--res=dpi
    set image resolution (default: [use gs default])

--autorotate=val
    set AutoRotatePages (default: None); recognized val choices: None, All, PageByPage. For EPS files, PageByPage is equivalent to All.

--restricted=val
    turn on restricted mode (default: [on for resptopdf, else off]); this restricts the values accepted by --gscmd and impose restrictions on the output file name similar to web2c's openout_any=p.

--help
    display help message and exit

--version
    display version information and exit

EXAMPLES
Examples for producing "test.pdf":
epstopdf test.eps
produce postscript | epstopdf --filter >test.pdf
produce postscript | epstopdf -f -d -o=test.pdf
Example: look for HiresBoundingBox and produce corrected PostScript:
epstopdf -d --nogs --hires test.ps >testcorr.ps

BUGS
The case of "%%BoundingBox: (atend)" when input is not seekable (e.g., from a pipe) is not supported.

When reporting bugs, please include an input file and command line options so the problem can be reproduced. Report bugs in the program or this man page to tex-k@tug.org.

SEE ALSO
gs(1), pdfcrop(1).

AUTHOR
The script was originally written by Sebastian Rahtz, for Elsevier Science, with subsequent contributions from Gerben Wierda and many others. Currently maintained by Karl Berry.

Man page originally written by Jim Van Zandt.

epstopdf home page: http://tug.org/epstopdf/

You may freely use, modify and/or distribute this file.