[system] / trunk / webwork / system / scripts / png2eps Repository:
ViewVC logotype

View of /trunk/webwork/system/scripts/png2eps

Parent Directory Parent Directory | Revision Log Revision Log


Revision 582 - (download) (annotate)
Mon Oct 14 16:15:58 2002 UTC (10 years, 7 months ago) by apizer
File size: 738 byte(s)
add comment about nosetpage

    1 #!/bin/sh
    2 
    3 # This script wraps system-dependant calls to several netpbm utilities.
    4 # In order to use this script, set the NETPBM variable below to the
    5 # directory which contains giftopnm, ppmtopgm, and pnmtops.
    6 
    7 NETPBM=/usr/local/bin
    8 
    9 
   10 # If you wish to set the paths to each utility separately, i.e. if they
   11 # are in different locations, do so below:
   12 
   13 PNGTOPNM=$NETPBM/pngtopnm;
   14 PPMTOPGM=$NETPBM/ppmtopgm;
   15 PNMTOPS=$NETPBM/pnmtops;
   16 
   17 # There should be no need for customization beyond this point.
   18 
   19 umask 022
   20 cat $1 | $PNGTOPNM | $PPMTOPGM | $PNMTOPS -noturn -nosetpage 2>/dev/null > $2
   21 
   22 # Current versions of pnmtops require the switch -nosetpage but some
   23 # earlier versions do not accept this switch.  If it causes problems
   24 # edit it out.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9