{
    "mode": "man",
    "parameter": "pbmtoxbm",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pbmtoxbm/1/json",
    "generated": "2026-08-07T13:35:42Z",
    "synopsis": "",
    "sections": {
        "NAME": {
            "content": "pbmtoxbm - convert a PBM image to an X11 bitmap\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "",
            "subsections": [
                {
                    "name": "pbmtoxbm",
                    "content": "[{-x10|-x11}]\n\n[pbmfile]\n\n"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "This program is part of Netpbm(1).\n\npbmtoxbm reads a PBM image as input and produces an X10 or X11 bitmap as output.\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "In  addition  to  the options common to all programs based on libnetpbm (most notably -quiet,\nsee \u001b]8;;index.html#commonoptions\u001b\\ Common Options\u001b]8;;\u001b\\ ), pbmtoxbm recognizes the following command line options:\n\n\n",
            "subsections": [
                {
                    "name": "-x10",
                    "content": "You may not specify this with -x11.\n\nThis option was new with Netpbm 10.37 (December 2006).  Before  that,  use  pbmtox10bm\ninstead.\n\n"
                },
                {
                    "name": "-x11",
                    "content": "You may not specify this with -x10.\n\nThe X11 version is the default, so this option has no effect.\n\nThis option was new with Netpbm 10.37 (December 2006).\n\n\n\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "pbmtox10bm(1), xbmtopbm(1), pbm(1)\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 1988 by Jef Poskanzer.\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/pbmtoxbm.html\n\nnetpbm documentation                       25 October 2006                   Pbmtoxbm User Manual(1)",
            "subsections": []
        }
    },
    "summary": "pbmtoxbm - convert a PBM image to an X11 bitmap",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "You may not specify this with -x11. This option was new with Netpbm 10.37 (December 2006). Before that, use pbmtox10bm instead."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "You may not specify this with -x10. The X11 version is the default, so this option has no effect. This option was new with Netpbm 10.37 (December 2006)."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "pbmtox10bm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pbmtox10bm/1/json"
        },
        {
            "name": "xbmtopbm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/xbmtopbm/1/json"
        },
        {
            "name": "pbm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pbm/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Convert a PBM image to a X11 or X10 bitmap.",
        "examples": [
            {
                "description": "Convert a PBM image to a X11 XBM file",
                "command": "pbmtoxbm {{path/to/input_file.pbm}} > {{path/to/output_file.xbm}}"
            },
            {
                "description": "Explicitly specify whether an X11 or X10 bitmap should be generated",
                "command": "pbmtoxbm -{{x11|x10}} {{path/to/input_file.pbm}} > {{path/to/output_file.xbm}}"
            }
        ]
    }
}