{
    "mode": "man",
    "parameter": "pbmtogem",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pbmtogem/1/json",
    "generated": "2026-06-15T16:42:49Z",
    "synopsis": "pbmtogem [pbmfile]",
    "sections": {
        "NAME": {
            "content": "pbmtogem - convert a portable bitmap into a GEM .img file\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pbmtogem [pbmfile]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Reads a portable bitmap as input.  Produces a compressed GEM .img file as output.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "pbmtogem does not support compression of repeated lines\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "gemtopbm(1), pbm(5)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 1988 by David Beckemeyer (bdt!david) and Jef Poskanzer.\n\n\n\n\n11 July 1992                                 pbmtogem(1)",
            "subsections": []
        }
    },
    "summary": "pbmtogem - convert a portable bitmap into a GEM .img file",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "gemtopbm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/gemtopbm/1/json"
        },
        {
            "name": "pbm",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/pbm/5/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Read a PBM image as input and produce a compressed GEM `.img` file as output.",
        "examples": [
            {
                "description": "Convert a PBM image into a GEM `.img` file",
                "command": "pbmtogem {{path/to/file.pbm}} > {{path/to/file.img}}"
            },
            {
                "description": "Suppress all informational messages",
                "command": "pbmtogem {{-q|-quiet}}"
            },
            {
                "description": "Display version",
                "command": "pbmtogem {{-v|-version}}"
            }
        ]
    }
}