epstopdf, repstopdf - convert an EPS file to PDF
epstopdf [options] [epsfile]
By default, epstopdf converts the input PostScript file to PDF, using Ghostscript. 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. Thus, the result needs no cropping, and the PDF MediaBox is correct. PJL commands at the start of a file are removed. DOS EPS binary files (TN 5002) are supported. If the bounding box in the input is incorrect, of course there will be resulting problems.
Options may start with either "-" or "--", and may be unambiguously abbreviated. It is best to use the full option name in scripts to avoid possible collisions with new options in the future. General script options: --help display help message and exit --version display version information and exit --outfile=file write result to file. If this option is not given, and --nogs or --filter is specified, write to standard output; otherwise, the default is to construct the output file name by replacing any extension in the input file with `.pdf'. --[no]debug write debugging info (default: false). --[no]exact scan ExactBoundingBox (default: false). --[no]filter read standard input and (unless --outfile is given) write standard output (default: false). --[no]gs run Ghostscript (default: true). With --nogs, output (to standard output by default) the PostScript that would normally be converted; that is, the input PostScript as modified by epstopdf. --[no]hires scan HiresBoundingBox (default: false). --restricted=val turn on restricted mode (default: [true for repstopdf, else false]); this forbids the use of --gscmd and other options and imposes restrictions on the input and output file names according to the values of openin_any and openout_any (see the Web2c manual, http://tug.org/web2c). Options for Ghostscript (more info below): --gscmd=val pipe output to val (default: [gswin32c on Windows, else gs]) --gsopt=val include val as one argument in the gs command (can be repeated). --gsopts=val split val at whitespace and include each resulting word as an argument in the gs command (can be repeated). --autorotate=val set AutoRotatePages (default: None); recognized val choices: None, All, PageByPage. For EPS files, PageByPage is equivalent to All. --[no]compress use compression in the output (default: true); if turned off, passes -dUseFlateCompression=false. --device=dev use -sDEVICE=dev (default: pdfwrite); not allowed in restricted mode. --[no]embed embed fonts (default: true); passes -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true. --[no]gray grayscale output (default: false); passes -sColorConversionStrategy=Gray -dProcessColorModel=/DeviceGray. --pdfsettings=val use -dPDFSETTINGS=/val (default is `prepress' if --embed, else empty); recognized val choices: screen, ebook, printer, prepress, default. --[no]quiet use -q, a.k.a. -dQUIET (default: false). --res=dpi, dpixdpi set image resolution (default: [use gs default]); ignored if --debug is set. --[no]safer use -d(NO)QUIET (default: true). In addition to the specific options above, 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.
These examples all equivalently convert `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 epstopdf's attempt at correcting PostScript: $program --nogs test.ps >testcorr.ps In all cases, you can add --debug (-d) to see more about what epstopdf is doing.
The case of "%%BoundingBox: (atend)" when input is not seekable (e.g., from a pipe) is not supported. Report bugs in the program or this man page to tex-k@tug.org. When reporting bugs, please include an input file and the command line options specified, so the problem can be reproduced.
gs(1), pdfcrop(1). The epstopdf LaTeX package, part of the oberdiek bundle, which automates running this script on the fly under TeX: http://ctan.org/pkg/epstopdf-pkg.
Originally written by Sebastian Rahtz, for Elsevier Science, with subsequent contributions from Thomas Esser, Gerben Wierda, Heiko Oberdiek, 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. 28 May 2016 EPSTOPDF(1)
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.