Go back

# scale16.sh

/usr/X11R6/share/afterstep/desktop/icons/mini/scale16.sh

Details

Full path :

  /usr/X11R6/share/afterstep/desktop/icons/mini/scale16.sh

ASCII text:

    #/bin/sh
    if test "x$1" = "x" ; then
      echo "Usage : scale16.sh <source_image> [<destination_image>]";
    else
      if test "x$2" = "x" ; then
        out_fname="$1.16x16";
        echo "Using output filename $out_fname"
      else
        out_fname=$2;
      fi
      ascompose -n -o $out_fname -t png -c 9 -s "<scale width=16 height=16><img src=$1/> </scale>";
    fi

AfterStep version 2.1.2