[system] / tags / rel-2-0-pr5-try2 / webwork-modperl / bin / gif2png Repository:
ViewVC logotype

View of /tags/rel-2-0-pr5-try2/webwork-modperl/bin/gif2png

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2149 - (download) (annotate)
Sat May 22 01:08:10 2004 UTC (9 years ago)
File size: 1391 byte(s)
This commit was manufactured by cvs2svn to create tag 'rel-2-0-pr5-try2'.

    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 PNMTOPNG=$NETPBM/pnmtopng;
   29 
   30 # There should be no need for customization beyond this point.
   31 
   32 umask 022
   33 cat $1 | $GIFTOPNM | $PNMTOPNG > $2

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9