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

pnminvert — Invert a PNM image. More information: <https://netpbm.sourceforge.net/doc/pnminvert.html>.

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

Problem

How to use the pnminvert command: Invert a PNM image. More information: <https://netpbm.sourceforge.net/doc/pnminvert.html>.

Solution

pnminvert — Invert a PNM image. More information: <https://netpbm.sourceforge.net/doc/pnminvert.html>.

Invert the colors or greyscale values in a PNM image:
pnminvert {{path/to/input.pnm}} > {{path/to/output.pnm}}

Code Snippets

Invert the colors or greyscale values in a PNM image

pnminvert {{path/to/input.pnm}} > {{path/to/output.pnm}}

Context

tldr-pages: common/pnminvert

Revisions (0)

No revisions yet.