1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:42:09 +02:00
tldr/pages/common/pammixinterlace.md
Antti Savolainen e7e3c0b668 batch4
2025-03-28 18:48:45 +02:00

639 B

pammixinterlace

Merge each row in an image with its two neighbours. See also: pamdeinterlace. More information: https://netpbm.sourceforge.net/doc/pammixinterlace.html.

  • Merge each row in an image with its two neighbours:

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

  • Use the specified filtering mechanism:

pammixinterlace {{[-f|-filter]}} {{linear|fir|ffmpeg}} {{path/to/image.ppm}} > {{path/to/output.ppm}}

  • Turn on adaptive filtering mode, i.e., only modify pixels that are obviously part of a comb pattern:

pammixinterlace {{[-a|-adaptive]}} {{path/to/image.ppm}} > {{path/to/output.ppm}}