Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pamslice: add page #12397

Merged
merged 2 commits into from
Mar 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions pages/common/pamslice.md
Original file line number Diff line number Diff line change
@@ -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 ouput in a format suitable for input to an `xmgr` for visualisation:

Check failure on line 18 in pages/common/pamslice.md

View workflow job for this annotation

GitHub Actions / build

ouput ==> output
gutjuri marked this conversation as resolved.
Show resolved Hide resolved

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