7 die "no input file specified\n";
10 die "no outpu file specified\n";
12 # use the following to verify image attributes
13 # identify -verbose <filename>
15 # set PixelsPerCentimeter to 58, so that we can display 1024
20 system("convert -units PixelsPerCentimeter $infile -density $dpcm $outfile");
22 # identify should return the same value
23 # system("identify -units PixelsPerCentimeter -format '%x x %y' $outfile");