pamslice: add page (#12397)

* pamslice: add page

* Update pages/common/pamslice.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/23/head
Juri Dispan 2024-03-04 07:44:55 +01:00 committed by GitHub
parent d97ea25be4
commit 93743f9500
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 20 additions and 0 deletions

20
pages/common/pamslice.md Normal file
View File

@ -0,0 +1,20 @@
# pamslice
> Extract one line of values out of a PAM image.
> More information: <https://netpbm.sourceforge.net/doc/pamslice.html>.
- Print the values of the pixels in the n'th row in a table:
`pamslice -row {{n}} {{path/to/image.pam}}`
- Print the values of the pixels in the n'th column in a table:
`pamslice -column {{n}} {{path/to/image.pam}}`
- Consider the m'th plane of the input image only:
`pamslice -row {{n}} -plane {{m}} {{path/to/image.pam}}`
- Produce output in a format suitable for input to an `xmgr` for visualisation:
`pamslice -row {{n}} -xmgr {{path/to/image.pam}}`