pamstretch Command Examples

Scale up a PAM image by interpolating between pixels. See also: pamstretch-gen, pamenlarge, pamscale. More information: https://netpbm.sourceforge.net/doc/pamstretch.html.

pamstretch {{N}} {{path/to/image.pam}} > {{path/to/output.pam}}

pamstretch -xscale {{XN}} -yscale {{YN}} {{path/to/image.pam}} > {{path/to/output.pam}}