mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 11:42:28 +00:00
19 lines
585 B
Plaintext
19 lines
585 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|