{
    "mode": "man",
    "parameter": "pnmtorast",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pnmtorast/1/json",
    "generated": "2026-05-30T16:07:31Z",
    "synopsis": "pnmtorast [-standard|-rle] [pnmfile]",
    "sections": {
        "NAME": {
            "content": "pnmtorast - convert a portable pixmap into a Sun rasterfile\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pnmtorast [-standard|-rle] [pnmfile]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Reads a portable pixmap as input.  Produces a Sun rasterfile as output.\n\nColor  values  in  Sun rasterfiles are eight bits wide, so pnmtorast will automatically scale\ncolors to have a maxval of 255.  An extra pnmdepth step is not necessary.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "The -standard flag forces the result to be in RTSTANDARD form; the  -rle  flag,  RTBYTEEN‐\nCODED, which is smaller but, well, less standard.  The default is -rle.\n\nAll flags can be abbreviated to their shortest unique prefix.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "rasttopnm(1), pnm(5)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 1989, 1991 by Jef Poskanzer.\n\n\n\n12 January 1991                              pnmtorast(1)",
            "subsections": []
        }
    },
    "summary": "pnmtorast - convert a portable pixmap into a Sun rasterfile",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "rasttopnm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/rasttopnm/1/json"
        },
        {
            "name": "pnm",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/pnm/5/json"
        }
    ]
}