pngresize


// Resize a PNG file.  If scalefactor is < 1.0, the image is reduced.
// If scalefactor is > 1.0 the image is enlarged.
//
// Usage: pl pngresize.htm INFILE=infile SCALE=scalefactor OUTFILE=outfile

// read in a PNG file and output a reduced result 
#musthave INFILE
#musthave SCALE
#musthave OUTFILE

#proc page
device: png
//tightcrop: yes
outfilename: @OUTFILE

#proc import
file: @INFILE
align: center
location: 4 4
scale: @SCALE