pambackground, pamstretch-gen, pamstretch, pbmclean, pbmmask, pbmpage, pbmpscale: add pages (#12237)
* 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>
2024-02-12 20:50:56 +01: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-03-27 15:53:12 +00:00
|
|
|
`pamstretch {{n}} {{path/to/image.pam}} > {{path/to/output.pam}}`
|
pambackground, pamstretch-gen, pamstretch, pbmclean, pbmmask, pbmpage, pbmpscale: add pages (#12237)
* 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>
2024-02-12 20:50:56 +01:00
|
|
|
|
|
|
|
- Scale up a PAM image by the specified factors in the horizontal and vertical directions:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pamstretch {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{path/to/image.pam}} > {{path/to/output.pam}}`
|