LinuxCommandLibrary

pbmtoepsi

Convert a PBM image to an encapsulated PostScript style preview bitmap.

TLDR

Convert a PBM image to an encapsulated PostScript style preview bitmap

$ pbmtoepsi [path/to/image.pbm] > [path/to/output.bmp]
copy


Produce a quadratic output image with the specified resolution
$ pbmtoepsi -dpi [144] {path/to/image.pbm] > [path/to/output.bmp]
copy


Produce an output image with the specified horizontal and vertical resolution
$ pbmtoepsi -dpi [72x144] [path/to/image.pbm] > [path/to/output.bmp]
copy


Only create a boundary box
$ pbmtoepsi -bbonly [path/to/image.pbm] > [path/to/output.bmp]
copy

Copied to clipboard