"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "susefilter-1.5/filter/gif" of archive susefilter-1.5.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 #
    2 #  Module filter/gif for apsfilter
    3 #
    4 #  Copyright 1996 S.u.S.E. GmbH
    5 #  Author:   Werner Fink  <werner@suse.de>
    6 #
    7 #
    8 #  findfilter () is defined in handler/functions called by apsfilter
    9 #
   10 #  print GIF pictures
   11 #
   12 findfilter $GIFTOPXM GIFTOPXM
   13 findfilter pnmtops PNMTOPS
   14 print_stdin()
   15 {
   16 	if [ "$COLOR" = "mono" ] ; then
   17 		findfilter ppmtopgm PPMTOPGM
   18 		HAVE_PNMTOPS="($HAVE_PPMTOPGM | $HAVE_PNMTOPS)"
   19 	fi
   20 	$DECOMPRESS $HAVE_GIFTOPXM | eval $HAVE_PNMTOPS | eval $PRINT_PS 
   21 }
   22 
   23 #
   24 # Declare for export
   25 #
   26 declare -xf print_stdin
   27 
   28 #
   29 # End
   30 #