1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/pamenlarge.md
Juri Dispan 6a6fc8ff86
pamditherbw: edit page; atktopbm, pamenlarge, pbmreduce, pbmtext, pbmtextps, pbmtoatk, pbmtobbnbg; add pages (#12236)
* pamditherbw: edit page; atktopbm, pamenlarge, pbmreduce, pbmtext, pbmtextps, pbmtoatk, pbmtobbnbg; add pages

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-02-12 15:10:11 +05:30

492 B

pamenlarge

Enlarge a PAM image by duplicating pixels. See also: pbmreduce, pamditherbw, pbmpscale. More information: https://netpbm.sourceforge.net/doc/pamenlarge.html.

  • Enlarge the specified image by the specified factor:

pamenlarge -scale {{N}} {{path/to/image.pam}} > {{path/to/output.pam}}

  • Enlarge the specified image by the specified factors horizontally and vertically:

pamenlarge -xscale {{XN}} -yscale {{YN}} {{path/to/image.pam}} > {{path/to/output.pam}}