LinuxCommandLibrary

pamstretch

Scale up a PAM image by interpolating between pixels.

TLDR

Scale up a PAM image by an integer factor

$ pamstretch [N] [path/to/image.pam] > [path/to/output.pam]
copy


Scale up a PAM image by the specified factors in the horizontal and vertical directions
$ pamstretch -xscale [XN] -yscale [YN] [path/to/image.pam] > [path/to/output.pam]
copy

Copied to clipboard