]>
git.proxmox.com Git - pve-docs.git/blob - png-cleanup.pl
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 DPI to 146, so that we can display 1024 pixels (page width)
19 system("convert -units PixelsPerInch $infile -density $dpi $outfile");
21 # identify should return the same value
22 # system("identify -units PixelsPerInch -format '%x x %y' $outfile");