HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pbmtoepsi — Convert a PBM image to an encapsulated PostScript style preview bitmap. More information: <https://n

Submitted by: @import:tldr-pages··
0
Viewed 0 times
postscriptcommandpbmtoepsiconvertcliimageencapsulatedpbm

Problem

How to use the pbmtoepsi command: Convert a PBM image to an encapsulated PostScript style preview bitmap. More information: <https://netpbm.sourceforge.net/doc/pbmtoepsi.html>.

Solution

pbmtoepsi — Convert a PBM image to an encapsulated PostScript style preview bitmap. More information: <https://netpbm.sourceforge.net/doc/pbmtoepsi.html>.

Convert a PBM image to an encapsulated PostScript style preview bitmap:
pbmtoepsi {{path/to/image.pbm}} > {{path/to/output.bmp}}


Produce a quadratic output image with the specified resolution:
pbmtoepsi {{[-d|-dpi]}} {{144}} {{path/to/image.pbm}} > {{path/to/output.bmp}}


Produce an output image with the specified horizontal and vertical resolution:
pbmtoepsi {{[-d|-dpi]}} {{72x144}} {{path/to/image.pbm}} > {{path/to/output.bmp}}


Only create a boundary box:
pbmtoepsi {{[-b|-bbonly]}} {{path/to/image.pbm}} > {{path/to/output.bmp}}

Code Snippets

Convert a PBM image to an encapsulated PostScript style preview bitmap

pbmtoepsi {{path/to/image.pbm}} > {{path/to/output.bmp}}

Produce a quadratic output image with the specified resolution

pbmtoepsi {{[-d|-dpi]}} {{144}} {{path/to/image.pbm}} > {{path/to/output.bmp}}

Produce an output image with the specified horizontal and vertical resolution

pbmtoepsi {{[-d|-dpi]}} {{72x144}} {{path/to/image.pbm}} > {{path/to/output.bmp}}

Only create a boundary box

pbmtoepsi {{[-b|-bbonly]}} {{path/to/image.pbm}} > {{path/to/output.bmp}}

Context

tldr-pages: common/pbmtoepsi

Revisions (0)

No revisions yet.