{
    "mode": "man",
    "parameter": "pngtopnm",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pngtopnm/1/json",
    "generated": "2026-08-07T17:35:13Z",
    "synopsis": "pngtopnm  [-verbose]  [-alpha  |  -mix]  [-background=color]  [-gamma=value] [-text=filename]\n[-time] [pngfile]\nMinimum unique abbreviation of option is acceptable.  You may use double hyphens  instead  of\nsingle hyphen to denote options.  You may use white space in place of the equals sign to sep‐\narate an option name from its value.",
    "sections": {
        "NAME": {
            "content": "pngtopnm - Convert a PNG image to PNM: replaced by pngtopam\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pngtopnm  [-verbose]  [-alpha  |  -mix]  [-background=color]  [-gamma=value] [-text=filename]\n[-time] [pngfile]\n\nMinimum unique abbreviation of option is acceptable.  You may use double hyphens  instead  of\nsingle hyphen to denote options.  You may use white space in place of the equals sign to sep‐\narate an option name from its value.\n\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This program is part of Netpbm(1).\n\npngtopnm  was  obsoleted by pngtopam(1), introduced with Netpbm 10.44 (September 2008).  png‐\ntopam is backward compatible with pngtopnm, plus adds many  additional  functions,  including\nthe ability to produce a PAM image that includes a transparency (alpha) channel.\n\nStarting in Release 10.48, pngtopnm is just an alias for pngtopam.\n\npngtopnm  remained in the Netpbm package through Release 10.47 because it may have fewer bugs\nthan pngtopam in those releases, and may be faster in some environments.  But pngtopnm's  in‐\ncompatibility with the most current PNG libraries makes it impractical to maintain along with\npngtopam now.\n\nIn  releases  before  10.48, you can use the pngtopam documentation for pngtopnm, considering\nthe following differences:\n\n\n\n\n•      pngtopnm options are a subset of pngtopam's, as documented above.\n\n\n•      Any change that the pngtopam manual says happened in or after Netpbm 10.44 doesn't ap‐\nply to pngtopnm.\n",
            "subsections": []
        },
        "DOCUMENT SOURCE": {
            "content": "This manual page was generated by the Netpbm tool 'makeman' from  HTML  source.   The  master\ndocumentation is at\n\nhttp://netpbm.sourceforge.net/doc/pngtopnm.html\n\nnetpbm documentation                        22 July 2008                     Pngtopnm User Manual(1)",
            "subsections": []
        }
    },
    "summary": "pngtopnm - Convert a PNG image to PNM: replaced by pngtopam",
    "flags": [],
    "examples": [],
    "see_also": [],
    "tldr": {
        "source": "official",
        "description": "This command has been superseded by `pngtopam`.",
        "examples": [
            {
                "description": "View documentation for the current command",
                "command": "tldr pngtopam"
            }
        ]
    }
}