{
    "content": [
        {
            "type": "text",
            "text": "# ppmtoyuvsplit (man)\n\n## NAME\n\nppmtoyuvsplit - convert a portable pixmap into 3 subsampled raw YUV files\n\n## SYNOPSIS\n\nppmtoyuvsplit basename [ppmfile]\n\n## DESCRIPTION\n\nReads a portable pixmap as input.  Produces 3 raw files basename.Y, basename.U and basename.V\nas output.  These files are the subsampled raw YUV representation of the input pixmap, as re‐\nquired  by  the  Stanford  MPEG codec. The subsampling is done by arithmetic mean of 4 pixels\ncolors into one. The YUV values are scaled according to CCIR.601, as assumed by MPEG.\n\n## TLDR\n\n> Convert a PPM image to three subsampled Abekas YUV files.\n\n- Read a PPM image from the input file, convert it to three subsampled Abekas YUV image and store these images to output files starting with the specified basename:\n  `ppmtoyuvsplit {{basename}} {{path/to/input_file.ppm}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ppmtoyuvsplit",
        "section": "",
        "mode": "man",
        "summary": "ppmtoyuvsplit - convert a portable pixmap into 3 subsampled raw YUV files",
        "synopsis": "ppmtoyuvsplit basename [ppmfile]",
        "tldr_summary": "Convert a PPM image to three subsampled Abekas YUV files.",
        "tldr_examples": [
            {
                "description": "Read a PPM image from the input file, convert it to three subsampled Abekas YUV image and store these images to output files starting with the specified basename",
                "command": "ppmtoyuvsplit {{basename}} {{path/to/input_file.ppm}}"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "mpeg",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/mpeg/1/json"
            },
            {
                "name": "ppm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/ppm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ppmtoyuvsplit - convert a portable pixmap into 3 subsampled raw YUV files\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "ppmtoyuvsplit basename [ppmfile]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Reads a portable pixmap as input.  Produces 3 raw files basename.Y, basename.U and basename.V\nas output.  These files are the subsampled raw YUV representation of the input pixmap, as re‐\nquired  by  the  Stanford  MPEG codec. The subsampling is done by arithmetic mean of 4 pixels\ncolors into one. The YUV values are scaled according to CCIR.601, as assumed by MPEG.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "mpeg(1), ppm(5)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 1993 by Andre Beck. (AndreBeck@IRS.Inf.TU-Dresden.de)\n\nBased on ppmtoyuv.c\n\n\n\n9 September 1993                          ppmtoyuvsplit(1)",
                "subsections": []
            }
        }
    }
}