LinuxCommandLibrary

pamdeinterlace

Remove every other row in a Netpbm image.

TLDR

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

$ pamdeinterlace [path/to/image.ppm] > [path/to/output.ppm]
copy


Produce an image consisting of the input's odd-numbered rows
$ pamdeinterlace -takeodd [path/to/image.ppm] > [path/to/output.ppm]
copy

Copied to clipboard