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

pamdeinterlace — Remove every other row in a Netpbm image. See also: `pammixinterlace`. More information: <https://ne

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

Problem

How to use the pamdeinterlace command: Remove every other row in a Netpbm image. See also: pammixinterlace. More information: <https://netpbm.sourceforge.net/doc/pamdeinterlace.html>.

Solution

pamdeinterlace — Remove every other row in a Netpbm image. See also: pammixinterlace. More information: <https://netpbm.sourceforge.net/doc/pamdeinterlace.html>.

Produce an image consisting of the input's even-numbered rows:
pamdeinterlace {{path/to/image.ppm}} > {{path/to/output.ppm}}


Produce an image consisting of the input's odd-numbered rows:
pamdeinterlace {{[-takeo|-takeodd]}} {{path/to/image.ppm}} > {{path/to/output.ppm}}

Code Snippets

Produce an image consisting of the input's even-numbered rows

pamdeinterlace {{path/to/image.ppm}} > {{path/to/output.ppm}}

Produce an image consisting of the input's odd-numbered rows

pamdeinterlace {{[-takeo|-takeodd]}} {{path/to/image.ppm}} > {{path/to/output.ppm}}

Context

tldr-pages: common/pamdeinterlace

Revisions (0)

No revisions yet.