mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
607 B
Plaintext
19 lines
607 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{path/to/image.pam}} > {{path/to/output.pam}}`
|