https://github.com/blmoore/pdf2eps-osx
Script for converting PDF to EPS images on OS X
https://github.com/blmoore/pdf2eps-osx
conversion eps ghostscript osx pdf
Last synced: 5 months ago
JSON representation
Script for converting PDF to EPS images on OS X
- Host: GitHub
- URL: https://github.com/blmoore/pdf2eps-osx
- Owner: blmoore
- License: mit
- Created: 2015-05-03T22:24:39.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-03-26T15:12:15.000Z (almost 5 years ago)
- Last Synced: 2025-07-14T11:46:29.678Z (7 months ago)
- Topics: conversion, eps, ghostscript, osx, pdf
- Language: PostScript
- Size: 559 KB
- Stars: 12
- Watchers: 0
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pdf2eps-osx
Want to automatically convert a few PDF files to EPS? Turns out there's various programs to try that each give a slightly different result... With that in mind here's a bash script that tries a few methods allowing you to find which works for your file (OS X specific). Current methods attempted:
1. Inkscape
- [Command-line version](http://wiki.inkscape.org/wiki/index.php/MacOS_X#Inkscape_command_line) required
- Good conversion, tight trimming
2. ImageMagick
- Install with homebrew: `brew install imagemagick`
- Nightmarish results
3. ghostscript
- Install with homebrew: `brew install ghostscript`
- Good conversion + respects PDF bounding
4. pdftops
- Part of [xpdf](http://www.foolabs.com/xpdf/download.html)
- Similar decent results to ghostscript
## Usage
```sh
./pdf2eps example_file.pdf
```
## Requirements
Other than those above, GNU tools should be installed (e.g. `grealpath`). Install these with homebrew:
```sh
brew install coreutils
```