2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`pamstretch {{n}} {{path/to/image.pam}} > {{path/to/output.pam}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Scale up a PAM image by the specified factors in the horizontal and vertical directions:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`pamstretch {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{path/to/image.pam}} > {{path/to/output.pam}}`
|