home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / fax-3.2.1 / script / ppmtog3.sh next >
Encoding:
Text File  |  1992-07-31  |  866 b   |  24 lines

  1. #  ppmtog3.sh
  2. #
  3. #   (c) Copyright 1992 by David M. Siegel.
  4. #       All rights reserved.
  5. #
  6. #   This program is free software; you can redistribute it and/or modify
  7. #   it under the terms of the GNU General Public License as published by
  8. #   the Free Software Foundation.
  9. #
  10. #   This program is distributed in the hope that it will be useful, 
  11. #   but WITHOUT ANY WARRANTY; without even the implied warranty of 
  12. #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. #   GNU General Public License for more details.
  14. #
  15. #   You should have received a copy of the GNU General Public License
  16. #   along with this program; if not, write to the Free Software
  17. #   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. set path=(/bin /usr/bin /usr/ucb /usr/local/bin /usr/local/pbmplus)
  20.  
  21. pnmcut 0 0 1728 2145 $1.ppm.$2 | pbmtog3 > $1.g3.$2
  22.  
  23. /bin/rm -f $1.ppm.$2
  24.