fitstopnm, pamcut, pamdeinterlace, pamdice, pammixinterlace, pamtofits, pamundice, pnmtofits: add pages (#12296)

* fitstopnm, pamcut, pamdeinterlace, pamdice, pammixinterlace, pamtofits, pamundice, pnmtofits: add pages

* Apply suggestions from code review

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

* Update pages/common/pamdice.md

* Update pages/common/fitstopnm.md

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

* Update pages/common/fitstopnm.md

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

* Update pages/common/pamundice.md

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
This commit is contained in:
Juri Dispan
2024-02-22 16:23:38 +01:00
committed by GitHub
parent 70e20af84f
commit acafa88054
8 changed files with 107 additions and 0 deletions

13
pages/common/pamdice.md Normal file
View File

@@ -0,0 +1,13 @@
# pamdice
> Slice a Netpbm image vertically or horizontally.
> See also: `pamundice`.
> More information: <https://netpbm.sourceforge.net/doc/pamdice.html>.
- Slice a Netpbm image such that the resulting tiles have the specified height and width:
`pamdice -outstem {{path/to/filename_stem}} -height {{value}} -width {{value}} {{path/to/input.ppm}}`
- Make the produced pieces overlap by the specified amount horizontally and vertically:
`pamdice -outstem {{path/to/filename_stem}} -height {{value}} -width {{value}} -hoverlap {{value}} -voverlap {{value}} {{path/to/input.ppm}}`