{
    "mode": "man",
    "parameter": "pnminvert",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pnminvert/1/json",
    "generated": "2026-06-14T00:15:54Z",
    "synopsis": "pnminvert [pnmfile]",
    "sections": {
        "NAME": {
            "content": "pnminvert - invert a portable anymap\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pnminvert [pnmfile]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Reads  a portable anymap as input.  Inverts it black for white and produces a portable anymap\nas output.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pnm(5)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 1989 by Jef Poskanzer.\n\n\n\n08 August 1989                               pnminvert(1)",
            "subsections": []
        }
    },
    "summary": "pnminvert - invert a portable anymap",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "pnm",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/pnm/5/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Invert a PNM image.",
        "examples": [
            {
                "description": "Invert the colors or greyscale values in a PNM image",
                "command": "pnminvert {{path/to/input.pnm}} > {{path/to/output.pnm}}"
            }
        ]
    }
}