pamslice Command Examples

Extract one line of values out of a PAM image. More information: https://netpbm.sourceforge.net/doc/pamslice.html.

pamslice -row {{n}} {{path/to/image.pam}}

pamslice -column {{n}} {{path/to/image.pam}}

pamslice -row {{n}} -plane {{m}} {{path/to/image.pam}}

pamslice -row {{n}} -xmgr {{path/to/image.pam}}