commands.sh

pamstretch

all

Scale up a PAM image by interpolating between pixels. See also: `pamstretch-gen`, `pamenlarge`, `pamscale`.

More info →

Options (2)

-xboolean

Scale up a PAM image by the specified factors in the horizontal and vertical directions

Example: pamstretch {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{path/to/image.pam}} > {{path/to/output.pam}}
-yboolean

Scale up a PAM image by the specified factors in the horizontal and vertical directions

Example: pamstretch {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{path/to/image.pam}} > {{path/to/output.pam}}

Examples (2)

Scale up a PAM image by an integer factor

pamstretch n path/to/image.pam > path/to/output.pam

Scale up a PAM image by the specified factors in the horizontal and vertical directions

pamstretch [-x|-xscale] xn [-y|-yscale] yn path/to/image.pam > path/to/output.pam
made by @shridhargupta | data from tldr-pages