1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 04:55:27 +02:00
tldr/pages/common/pamenlarge.md

14 lines
519 B
Markdown
Raw Normal View History

# 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 {{[-s|-scale]}} {{n}} {{path/to/image.pam}} > {{path/to/output.pam}}`
- Enlarge the specified image by the specified factors horizontally and vertically:
`pamenlarge {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{path/to/image.pam}} > {{path/to/output.pam}}`