Parent Directory | Revision Log
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|