repstopdf --version (return code: 0)
epstopdf ($Id: epstopdf.pl 36129 2015-01-24 00:30:11Z karl $) 2.23
Copyright 2009-2014 Karl Berry et al.
Copyright 2002-2009 Gerben Wierda et al.
Copyright 1998-2001 Sebastian Rahtz et al.
License RBSD: Revised BSD <http://www.xfree86.org/3.3.6/COPYRIGHT2.html#5>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
repstopdf --help (return code: 0)
epstopdf ($Id: epstopdf.pl 36129 2015-01-24 00:30:11Z karl $) 2.23
Usage: epstopdf [OPTION]... [EPSFILE]
Convert EPS to PDF (or other formats), by default using Ghostscript.
The resulting output is guaranteed to start at the 0,0 coordinate, and
sets a page size exactly corresponding to the BoundingBox. Thus, the
result does not need any cropping, and the PDF MediaBox is correct.
If the bounding box in the input is incorrect, of course there will
be resulting problems.
Options:
--help display this help and exit
--version display version information and exit
--outfile=FILE write result to FILE (default based on input name)
--restricted use restricted mode (default: true)
--(no)debug output debugging info (default: false)
--(no)exact scan ExactBoundingBox (default: false)
--(no)filter read standard input (default: false)
--(no)gs run ghostscript (default: true)
--(no)hires scan HiResBoundingBox (default: false)
Options for Ghostscript:
--gscmd=VAL pipe output to VAL (default: gs)
--gsopt=VAL single option for gs (see below)
--gsopts=VAL options for gs (see below)
--autorotate=VAL set AutoRotatePages (default: None)
recognized VAL choices: None, All, PageByPage;
for EPS files, PageByPage is equivalent to All.
--(no)compress use compression (default: true)
--device=DEV use -sDEVICE=DEV (default: pdfwrite)
--(no)embed embed fonts (default: true)
--pdfsettings=VAL use -dPDFSETTINGS=/VAL (default is prepress if --embed,
else empty); recognized VAL choices:
screen, ebook, printer, prepress, default.
--(no)quiet use -q (-dQUIET) (default: true)
--res=DPI|DPIxDPI set image resolution (default: [use gs default])
ignored if option --debug is set.
--(no)safer use -d(NO)SAFER (default: true)
Examples all equivalently converting test.eps to test.pdf:
$ epstopdf test.eps
$ cat test.eps | epstopdf --filter >test.pdf
$ cat test.eps | epstopdf -f -o=test.pdf
Example for using HiResBoundingBox instead of BoundingBox:
$ epstopdf --hires test.eps
Example for producing epstopdf's attempt at corrected PostScript:
$ epstopdf --nogs test.ps >testcorr.ps
In all cases, you can add --debug (-d) to see more about what epstopdf
is doing.
More about the options for Ghostscript:
Additional options to be used with gs can be specified
with either or both of the two cumulative options --gsopts and --gsopt.
--gsopts takes a single string of options, which is split at whitespace,
each resulting word then added to the gs command line individually.
--gsopt adds its argument as a single option to the gs command line.
It can be used multiple times to specify options separately,
and is necessary if an option or its value contains whitespace.
In restricted mode, options are limited to those with names and values
known to be safe; some options taking booleans, integers or fixed
names are allowed, those taking general strings are not.
All options to epstopdf may start with either - or --, and may be
unambiguously abbreviated. It is best to use the full option name in
scripts, though, to avoid possible collisions with new options in the
future.
When reporting bugs, please include an input file and command line
options so the problem can be reproduced.
Report bugs to: tex-k@tug.org
epstopdf home page: <http://tug.org/epstopdf/>