{
    "mode": "man",
    "parameter": "pbmtoepsi",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pbmtoepsi/1/json",
    "generated": "2026-06-15T13:17:11Z",
    "synopsis": "pbmtoepsi [-bbonly] [pbmfile]",
    "sections": {
        "NAME": {
            "content": "pbmtoepsi - convert a portable bitmap into an encapsulated PostScript style preview bitmap\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pbmtoepsi [-bbonly] [pbmfile]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Reads a portable bitmap as input.  Produce an encapsulated Postscript style bitmap as output.\nThe output is not a stand alone postscript file, it is only a preview bitmap,  which  can  be\nincluded  in  an  encapsulated  PostScript file.  Note that there is no epsitopbm tool - this\ntransformation is one way.\n\nThis utility is a part of the pstoepsi tool by Doug Crabill (dgc@cs.purdue.edu).\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-bbonly",
                    "content": "Only create a boundary box, don't fill it with the image.\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "pbm(5), pnmtops(1), pstopnm(1), psidtopgm(1), pbmtolps(1), ps(1)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 1988 Jef Poskanzer, modified by Doug Crabill 1992\n\n\n\n1992                                    pbmtoepsi(1)",
            "subsections": []
        }
    },
    "summary": "pbmtoepsi - convert a portable bitmap into an encapsulated PostScript style preview bitmap",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Only create a boundary box, don't fill it with the image."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "pbm",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/pbm/5/json"
        },
        {
            "name": "pnmtops",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pnmtops/1/json"
        },
        {
            "name": "pstopnm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pstopnm/1/json"
        },
        {
            "name": "psidtopgm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/psidtopgm/1/json"
        },
        {
            "name": "pbmtolps",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pbmtolps/1/json"
        },
        {
            "name": "ps",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ps/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Convert a PBM image to an encapsulated PostScript style preview bitmap.",
        "examples": [
            {
                "description": "Convert a PBM image to an encapsulated PostScript style preview bitmap",
                "command": "pbmtoepsi {{path/to/image.pbm}} > {{path/to/output.bmp}}"
            },
            {
                "description": "Produce a quadratic output image with the specified resolution",
                "command": "pbmtoepsi {{-d|-dpi}} {{144}} {{path/to/image.pbm}} > {{path/to/output.bmp}}"
            },
            {
                "description": "Produce an output image with the specified horizontal and vertical resolution",
                "command": "pbmtoepsi {{-d|-dpi}} {{72x144}} {{path/to/image.pbm}} > {{path/to/output.bmp}}"
            },
            {
                "description": "Only create a boundary box",
                "command": "pbmtoepsi {{-b|-bbonly}} {{path/to/image.pbm}} > {{path/to/output.bmp}}"
            }
        ]
    }
}