{
    "content": [
        {
            "type": "text",
            "text": "# pamdeinterlace (man)\n\n## NAME\n\npamdeinterlace - remove ever other row from a PAM/PNM image\n\n## SYNOPSIS\n\npamdeinterlace [-takeodd] [-takeeven] N [infile]\nYou  can use the minimum unique abbreviation of the options.  You can use two hyphens instead\nof one.  You can separate an option name from its value with white space instead of an equals\nsign.\n\n## DESCRIPTION\n\npamdeinterlace  Removes  all the even-numbered or odd-numbered rows from the input PNM or PAM\nimage.  Specify which with the -takeeven and -takeodd options.\n\n## TLDR\n\n> Remove every other row in a Netpbm image.\n\n- Produce an image consisting of the input's even-numbered rows:\n  `pamdeinterlace {{path/to/image.ppm}} > {{path/to/output.ppm}}`\n- Produce an image consisting of the input's odd-numbered rows:\n  `pamdeinterlace {{-takeo|-takeodd}} {{path/to/image.ppm}} > {{path/to/output.ppm}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (1 subsections)\n- **OPTIONS** (2 subsections)\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pamdeinterlace",
        "section": "",
        "mode": "man",
        "summary": "pamdeinterlace - remove ever other row from a PAM/PNM image",
        "synopsis": "pamdeinterlace [-takeodd] [-takeeven] N [infile]\nYou  can use the minimum unique abbreviation of the options.  You can use two hyphens instead\nof one.  You can separate an option name from its value with white space instead of an equals\nsign.",
        "tldr_summary": "Remove every other row in a Netpbm image.",
        "tldr_examples": [
            {
                "description": "Produce an image consisting of the input's even-numbered rows",
                "command": "pamdeinterlace {{path/to/image.ppm}} > {{path/to/output.ppm}}"
            },
            {
                "description": "Produce an image consisting of the input's odd-numbered rows",
                "command": "pamdeinterlace {{-takeo|-takeodd}} {{path/to/image.ppm}} > {{path/to/output.ppm}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "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."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "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. You cannot specify both -takeeven and -takeodd."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "pamstretch",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pamstretch/1/json"
            },
            {
                "name": "pnmscale",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pnmscale/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 10,
                "subsections": [
                    {
                        "name": "pamdeinterlace myimage.ppm | pamstretch -yscale=2 >newimage.ppm",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-takeodd",
                        "lines": 5
                    },
                    {
                        "name": "-takeeven",
                        "lines": 6
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pamdeinterlace - remove ever other row from a PAM/PNM image\n\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pamdeinterlace [-takeodd] [-takeeven] N [infile]\n\nYou  can use the minimum unique abbreviation of the options.  You can use two hyphens instead\nof one.  You can separate an option name from its value with white space instead of an equals\nsign.\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "pamdeinterlace  Removes  all the even-numbered or odd-numbered rows from the input PNM or PAM\nimage.  Specify which with the -takeeven and -takeodd options.\n\nThis can be useful if the image is a video capture from an interlaced video source.  In  that\ncase,  each  row shows the subject 1/60 second before or after the two rows that surround it.\nIf the subject is moving, this can detract from the quality of the image.\n\nBecause the resulting image is half the height of the input image, you will then want to  use\npamstretch or pnmscale to restore it to its normal height:\n",
                "subsections": [
                    {
                        "name": "pamdeinterlace myimage.ppm | pamstretch -yscale=2 >newimage.ppm",
                        "content": ""
                    }
                ]
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-takeodd",
                        "content": "Take  the  odd-numbered  rows from the input and put them in the output.  The rows are\nnumbered starting at zero, so the first row in the output is the second row  from  the\ninput.  You cannot specify both -takeeven and -takeodd.\n\n"
                    },
                    {
                        "name": "-takeeven",
                        "content": "Take  the  even-numbered rows from the input and put them in the output.  The rows are\nnumbered starting at zero, so the first row in the output is the first  row  from  the\ninput.  This is the default.  You cannot specify both -takeeven and -takeodd.\n\n\n"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "pamstretch(1), pnmscale(1)\n\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "put by Bryan Henderson in the public domain in 2001\n\n\n\n11 November 2001                         pamdeinterlace(1)",
                "subsections": []
            }
        }
    }
}