7 my $path = dirname
(abs_path
($0));
12 die("$0 -dim=x,y,w,h outfile%.2d.png blank-pic series-of-pics-to-be-diffed");
15 if ($dim =~ /-dim=(\d+),(\d+),(\d+),(\d+)/) {
19 my $name = shift @ARGV;
20 syntax
() unless $name =~ /%.*d/;
21 my $inp = shift @ARGV;
24 my $cmd = sprintf $path . "/imgdiff.out $dim $inp $_ $name", $x;