source: other-projects/trunk/mac-binaries/intel/ghostscript/bin/eps2eps@ 17625

Last change on this file since 17625 was 17625, checked in by max, 15 years ago

Adding GhostScript 8.63 for Intel Mac and changing the location of ImageMagick 6.4.4 for Intel Mac that can process JPEG2000 files by default.

File size: 658 bytes
Line 
1#!/bin/sh
2# $Id: eps2eps 8773 2008-05-25 02:17:14Z alexcher $
3# "Distill" Encapsulated PostScript.
4
5# This definition is changed on install to match the
6# executable name set in the makefile
7GS_EXECUTABLE=gs
8gs="`dirname $0`/$GS_EXECUTABLE"
9if test ! -x "$gs"; then
10 gs="$GS_EXECUTABLE"
11fi
12GS_EXECUTABLE=gs
13
14OPTIONS="-dDEVICEWIDTH=250000 -dDEVICEHEIGHT=250000"
15while true
16do
17 case "$1" in
18 -?*) OPTIONS="$OPTIONS $1" ;;
19 *) break ;;
20 esac
21 shift
22done
23
24if [ $# -ne 2 ]; then
25 echo "Usage: `basename $0` ...switches... input.eps output.eps" 1>&2
26 exit 1
27fi
28
29exec "$GS_EXECUTABLE" -q -sDEVICE=epswrite "-sOutputFile=$2" -dNOPAUSE -dBATCH -dSAFER $OPTIONS "$1"
Note: See TracBrowser for help on using the repository browser.