#!/usr/bin/perl
#
# This program will take a list of jpeg files and generate a
# HTML document and imagemapped thumbnail of the files for preview.
#
# 6 Aug 1998 JV - Fixed the duplicate \n");
system("pnmcat -white -top row_*.ppm | tee thumbtmp.pnm | cjpeg $jpegoptions > $thumbname$thumb_num.jpg");
open SIZEINFO, "; #Get rid of filetype ( we don't care )
$foo = ;
($icn_width, $icn_height) = $foo =~ /(\d*) (\d*)/;
close SIZEINFO;
print "
\n";
print "
\n";
system("rm row_*.ppm thumbtmp.pnm thumbi.pnm");
}
print "\n";
if (!$spam) {print "
Made by HangNail\n";}
print "\n";
print "\n";