Next Welcome to my ~/bin 122

imgdiff

        my @pnm = map to_pnm($_), @ARGV;
        for (0..1) {
          run("djpeg $ARGV[$_] > $pnm[$_]");
          my $info = run("pnmfile $pnm[$_]");
          $size[$_] = [$info =~ /(\d+) by (\d+)/];
        #  print "Size of $pnm[$_]: @{$size[$_]}\n";
        }


Next Menu Copyright © 2005 M. J. Dominus