PAMDEINTERLACE(1)

πŸ“¦
version 11.13.03 Β· 5 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ pamdeinterlace(1) ✨

okay bestie, welcome to the pamdeinterlace manual page πŸ’– (it lives in section 1 of the Netpbm docs, general commands, iykyk) and honestly? she's a little icon. let's get into it πŸŽ€


🌸 NAME 🌸

pamdeinterlace β€” remove every other row from a PAM/PNM image πŸ¦‹


🌈 SYNOPSIS 🌈

pamdeinterlace

[-takeodd]

[-takeeven]

[infile]

okay so a few lil quality-of-life things about how you type these, no cap:

  • you can use the minimum unique abbreviation of the options ✨ (so like, shorthand is fine as long as everybody knows what you mean)
  • you can use two hyphens instead of one πŸ’…
  • you can separate an option name from its value with white space instead of an equals sign 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

bestie. this program is part of Netpbm(1). 🌟

pamdeinterlace removes all the even-numbered or odd-numbered rows from the input PNM or PAM image. you tell it which one you want with the -takeeven and -takeodd options. that's the whole vibe check. βœ…

when is this actually useful tho? so glad you asked πŸ™ˆ β€” if your image is a video capture from an interlaced video source. in that case, each row shows the subject 1/60 second before or after the two rows that surround it. and if the subject is moving? yeah, that lowkey detracts from the quality of the image. it's giving combing. it's not cute. πŸ’€

and because the resulting image is half the height of the input image, you're gonna want to use pamstretch or pamscale to restore it to its normal height:

pamdeinterlace myimage.ppm | pamstretch -yscale=2 >newimage.ppm

slay. πŸ’…

but also β€” another, usually better, way to deinterlace an image is with pammixinterlace. just so you know your options, bestie. no gatekeeping here 🌈


✨ OPTIONS ✨

on top of the options common to all programs based on libnetpbm (most notably -quiet, see Common Options β€” she's the moment, always around), pamdeinterlace recognizes the following command line options:

  • -takeodd β€” take the odd-numbered rows from the input and put them in the output πŸŽ€. the rows are numbered starting at zero, so the first row in the output is the second row from the input. you cannot specify both -takeeven and -takeodd β€” pick a lane, girl πŸ’…
  • -takeeven β€” take the even-numbered rows from the input and put them in the output πŸ¦‹. the rows are numbered starting at zero, so the first row in the output is the first row from the input. this is the default πŸ‘‘. and again β€” you cannot specify both -takeeven and -takeodd. both is not an option, periodt.

πŸ”₯ SEE ALSO πŸ”₯

pammixinterlace(1), pam(1) pnm(1)


🧚 DOCUMENT SOURCE 🧚

this manual page was generated by the Netpbm tool makeman from HTML source (iconic behaviour honestly). the master documentation is at

http://netpbm.sourceforge.net/doc/pamdeinterlace.html

ngl if you're deinterlacing and you skipped the pamstretch/pamscale step, your image is gonna be squished and that's on you bestie 😭 half height is half height!!

and that's the whole page!! πŸŒΈπŸ’–βœ¨ this was the netpbm documentation, dated 11 November 2001 πŸŽ€ go forth and un-comb your frames, you absolute main character πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from