{
    "mode": "man",
    "parameter": "palmtopnm",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/palmtopnm/1/json",
    "generated": "2026-05-30T05:15:08Z",
    "synopsis": "palmtopnm [-verbose] [-rendition N] [-showhist]\n[-forceplain] [pnmfile]\npalmtopnm -transparent [-verbose] [pnmfile]",
    "sections": {
        "NAME": {
            "content": "palmtopnm - convert a Palm pixmap into a portable anymap\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "palmtopnm [-verbose] [-rendition N] [-showhist]\n[-forceplain] [pnmfile]\npalmtopnm -transparent [-verbose] [pnmfile]\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Reads  a  Palm  pixmap as input, from stdin or pnmfile.  Produces either a portable pixmap as\noutput, or writes the value of the transparent color in the Palm pixmap to stdout.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-verbose",
                    "content": "Display various interesting information about the input file and process.\n"
                },
                {
                    "name": "-transparent",
                    "content": "If the Palm pixmap has a transparent color set, the RGB value for that color  will  be\nwritten to stdout as in the form #RRGGBB, where RR, GG, and BB are two-digit hexadeci‐\nmal numbers indicating a value between 0 and 255.  If no transparent color is  set  in\nthe bitmap, nothing will be output.  No additional output will be generated; no anymap\nwill be output.\n"
                },
                {
                    "name": "-rendition N",
                    "content": "Palm pixmaps may contain several different renditions of the same pixmap, with differ‐\nent  depths.   By default, palmtopnm operates on the first rendition (rendition number\n1) in the pixmap.  This switch allows you to operate on a  different  rendition.   The\nvalue must be between 1 and the number of renditions in the pixmap, inclusive.\n"
                },
                {
                    "name": "-showhist",
                    "content": "Writes a histogram of colors in the input file to stderr.\n"
                },
                {
                    "name": "-forceplain",
                    "content": "Force the output anymap to be in ASCII 'plain' netpbm format.\n\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "pnmtopalm(1), pnm(5)\n\n",
            "subsections": []
        },
        "BUGS": {
            "content": "An  additional  compression format, \"packbits,\" has been added with PalmOS 4.0.  This package\nshould be updated to handle it.\n\nYou currently cannot generate an alpha mask if the Palm pixmap has a transparent color.  How‐\never, you can still do this with ppmcolormask with a Netpbm pipe similar to:\n",
            "subsections": [
                {
                    "name": "palmtopnm pixmap.palm | ppmcolormask `palmtopnm -transparent pixmap.palm`",
                    "content": ""
                }
            ]
        },
        "AUTHORS": {
            "content": "This program was originally written as Tbmptopnm.c, by Ian Goldberg.  It was heavily modified\nby Bill Janssen to add color, compression, and transparency function.\nCopyright 1995-2001 by Ian Goldberg and Bill Janssen.\n\n\n\n15 December 2000                              palmtopnm(1)",
            "subsections": []
        }
    },
    "summary": "palmtopnm - convert a Palm pixmap into a portable anymap",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Display various interesting information about the input file and process."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "If the Palm pixmap has a transparent color set, the RGB value for that color will be written to stdout as in the form #RRGGBB, where RR, GG, and BB are two-digit hexadeci‐ mal numbers indicating a value between 0 and 255. If no transparent color is set in the bitmap, nothing will be output. No additional output will be generated; no anymap will be output."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Palm pixmaps may contain several different renditions of the same pixmap, with differ‐ ent depths. By default, palmtopnm operates on the first rendition (rendition number 1) in the pixmap. This switch allows you to operate on a different rendition. The value must be between 1 and the number of renditions in the pixmap, inclusive."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Writes a histogram of colors in the input file to stderr."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Force the output anymap to be in ASCII 'plain' netpbm format."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "pnmtopalm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pnmtopalm/1/json"
        },
        {
            "name": "pnm",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/pnm/5/json"
        }
    ]
}