Parent Directory
|
Revision Log
Normalized headers. All files now contain the text below as a header. This is important since all files now (a) use the full name of the package, (b) assign copyright to "The WeBWorK Project", (c) give the full path of the file (relative to CVSROOT) instead of simply the file name, and (d) include license and warranty information. Here is the new header: ################################################################################ # WeBWorK Online Homework Delivery System # Copyright © 2000-2003 The WeBWorK Projcct, http://openwebwork.sf.net/ # $CVSHeader$ # # This program is free software; you can redistribute it and/or modify it under # the terms of either: (a) the GNU General Public License as published by the # Free Software Foundation; either version 2, or (at your option) any later # version, or (b) the "Artistic License" which comes with this package. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the # Artistic License for more details. ################################################################################
1 #!/bin/sh 2 ################################################################################ 3 # WeBWorK Online Homework Delivery System 4 # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ 5 # $CVSHeader$ 6 # 7 # This program is free software; you can redistribute it and/or modify it under 8 # the terms of either: (a) the GNU General Public License as published by the 9 # Free Software Foundation; either version 2, or (at your option) any later 10 # version, or (b) the "Artistic License" which comes with this package. 11 # 12 # This program is distributed in the hope that it will be useful, but WITHOUT 13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 14 # FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the 15 # Artistic License for more details. 16 ################################################################################ 17 18 # This script wraps system-dependant calls to several netpbm utilities. 19 # In order to use this script, set the NETPBM variable below to the 20 # directory which contains giftopnm, ppmtopgm, and pnmtops. 21 22 NETPBM=/usr/local/bin 23 24 # If you wish to set the paths to each utility separately, i.e. if they 25 # are in different locations, do so below: 26 27 GIFTOPNM=$NETPBM/giftopnm; 28 PPMTOPGM=$NETPBM/ppmtopgm; 29 PNMTOPS=$NETPBM/pnmtops; 30 31 # There should be no need for customization beyond this point. 32 33 umask 022 34 cat $1 | $GIFTOPNM | $PPMTOPGM | $PNMTOPS -noturn 2>/dev/null > $2 35 36 # CODER NOTE: 37 # We used to use `pnmdepth 1' instead of ppmtopgm as it creates a 38 # monochrome image (1 bit) rather than a greyscale image (8 bits). 39 # However, this was causing improper display of some sort in PDFs.
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |