{
    "mode": "man",
    "parameter": "pnmtosir",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pnmtosir/1/json",
    "generated": "2026-06-14T00:17:15Z",
    "synopsis": "pnmtosir [pnmfile]",
    "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": []
        }
    },
    "summary": "pnmtosir - convert a portable anymap into a Solitaire format",
    "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"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Convert a PNM file to a Solitaire Image Recorder file.",
        "examples": [
            {
                "description": "Convert a PNM image to a SIR image",
                "command": "pnmtosir {{path/to/input.pnm}} > {{path/to/output.sir}}"
            }
        ]
    }
}