1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:02:09 +02:00
tldr/pages/common/pamstretch.md
Lena 6fd816e36e
pages/*: use lowercase n for integer placeholders (#16033)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2025-03-27 21:23:12 +05:30

496 B

pamstretch

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

  • 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 -xscale {{xn}} -yscale {{yn}} {{path/to/image.pam}} > {{path/to/output.pam}}