mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* pambackground, pamstretch-gen, pamstretch, pbmclean, pbmmask, pbmpage, pbmpscale: add pages * add missing linefeed * Update pages/common/pamstretch.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Apply suggestions from code review Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
13 lines
496 B
Markdown
13 lines
496 B
Markdown
# 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}}`
|