LinuxCommandLibrary

pamenlarge

Enlarge a PAM image by duplicating pixels.

TLDR

Enlarge the specified image by the specified factor

$ pamenlarge -scale [N] [path/to/image.pam] > [path/to/output.pam]
copy


Enlarge the specified image by the specified factors horizontally and vertically
$ pamenlarge -xscale [XN] -yscale [YN] [path/to/image.pam] > [path/to/output.pam]
copy

Copied to clipboard