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/pnmmargin.md
Juri Dispan 95e6753d3e
pnmmargin, pnmmontage, pnmnlfilt, pnmnorm, pnmpad, pnmpaste: add pages (#12187)
* pnmmargin, pnmmontage, pnmnlfilt, pnmnorm, pnmpad, pnmpaste: add pages

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-02-09 19:23:54 +05:30

362 B

pnmmargin

Add a border to a PNM image. More information: https://netpbm.sourceforge.net/doc/pnmmargin.html.

  • Add a border of the specified size to a PNM image:

pnmmargin {{size}} {{path/to/image.pnm}} > {{path/to/output.pnm}}

  • Specify the color of the border:

pnmmargin -color {{color}} {{size}} {{path/to/image.pnm}} > {{path/to/output.pnm}}