{
    "content": [
        {
            "type": "text",
            "text": "# pnmtosir (man)\n\n## NAME\n\npnmtosir - convert a portable anymap into a Solitaire format\n\n## SYNOPSIS\n\npnmtosir [pnmfile]\n\n## DESCRIPTION\n\nReads a portable anymap as input.  Produces a Solitaire Image Recorder format.\n\n## TLDR\n\n> Convert a PNM file to a Solitaire Image Recorder file.\n\n- Convert a PNM image to a SIR image:\n  `pnmtosir {{path/to/input.pnm}} > {{path/to/output.sir}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **BUGS**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pnmtosir",
        "section": "",
        "mode": "man",
        "summary": "pnmtosir - convert a portable anymap into a Solitaire format",
        "synopsis": "pnmtosir [pnmfile]",
        "tldr_summary": "Convert a PNM file to a Solitaire Image Recorder file.",
        "tldr_examples": [
            {
                "description": "Convert a PNM image to a SIR image",
                "command": "pnmtosir {{path/to/input.pnm}} > {{path/to/output.sir}}"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "sirtopnm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/sirtopnm/1/json"
            },
            {
                "name": "pnm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/pnm/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": "BUGS",
                "lines": 1,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pnmtosir - convert a portable anymap into a Solitaire format\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pnmtosir [pnmfile]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Reads a portable anymap as input.  Produces a Solitaire Image Recorder format.\n\npnmtosir  produces  an MGI TYPE 17 file for pbm and pgm files.  For ppm, it writes a MGI TYPE\n11 file.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "sirtopnm(1), pnm(5)\n",
                "subsections": []
            },
            "BUGS": {
                "content": "",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 1991 by Marvin Landis.\n\n\n\n\n20 March 1991                                pnmtosir(1)",
                "subsections": []
            }
        }
    }
}