LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pbmtoepsi

converts PBM bitmaps to Encapsulated PostScript Interchange format

TLDR

Convert PBM to EPSI format
$ pbmtoepsi [input.pbm] > [output.epsi]
copy
Output only bounding box comments (no image data)
$ pbmtoepsi -bbonly [input.pbm] > [output.epsi]
copy
Specify output resolution in dots per inch
$ pbmtoepsi -dpi [300] [input.pbm] > [output.epsi]
copy

SYNOPSIS

pbmtoepsi [-dpi N[xN]] [-bbonly] [pbmfile]

DESCRIPTION

pbmtoepsi converts PBM bitmaps to Encapsulated PostScript Interchange (EPSI) format. EPSI includes a low-resolution preview bitmap that non-PostScript applications can display while keeping a full-resolution PostScript representation for printing. Part of the Netpbm toolkit.

PARAMETERS

-bbonly

Create only a bounding box comment; do not include the image preview.
-dpi N[xN]
Output device resolution in dots per inch (default 72). Use "NxM" to specify horizontal and vertical resolutions separately.
-quiet
Suppress informational messages (common libnetpbm option).

SEE ALSO

Copied to clipboard
Kai