CmdID / Commands
pamenlarge
Enlarge a PAM image by duplicating pixels. tldr-pages
On several platforms
Enlarge the specified image by the specified factor
pamenlarge -scale n path/to/image.pam >path/to/output.pamIdentify
Enlarge the specified image by the specified factors horizontally and vertically
pamenlarge -xscale xn -yscale yn path/to/image.pam >path/to/output.pamIdentify