HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pamvalidate — Validate PAM, PGM, PBM, and PPM files. See also: `pamfile`, `pamfix`. More information: <https://net

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandpamvalidatepamandclivalidatepgmpbm

Problem

How to use the pamvalidate command: Validate PAM, PGM, PBM, and PPM files. See also: pamfile, pamfix. More information: <https://netpbm.sourceforge.net/doc/pamvalidate.html>.

Solution

pamvalidate — Validate PAM, PGM, PBM, and PPM files. See also: pamfile, pamfix. More information: <https://netpbm.sourceforge.net/doc/pamvalidate.html>.

Copy a Netpbm file from stdin to stdout if and only if it valid; fail otherwise:
{{command}} | pamvalidate > {{path/to/output.ext}}

Code Snippets

Copy a Netpbm file from `stdin` to `stdout` if and only if it valid; fail otherwise

{{command}} | pamvalidate > {{path/to/output.ext}}

Context

tldr-pages: common/pamvalidate

Revisions (0)

No revisions yet.