PBMTOEPSI(1)

πŸ“¦
version 11.13.03 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

pbmtoepsi β€” the lil glow-up tool that converts a PBM image into an encapsulated PostScript style preview bitmap πŸ’…

This is the Pbmtoepsi User Manual, and bestie, we're gonna get you fluent in it.


🌸 SYNOPSIS 🌸

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

Okay so before you @ me about the flags β€” the house rules for options here are:

  • All options can be abbreviated to their shortest unique prefix. ✨
  • You may use two hyphens instead of one. ✨
  • You may separate an option name and its value with white space instead of an equals sign. ✨

πŸ’– DESCRIPTION πŸ’–

This program is part of Netpbm(1). 🫢

It reads a PBM image as input and produces an encapsulated Postscript style bitmap as output. Important: the output is not a stand alone postscript file. It's only a preview bitmap, and it can be included in an encapsulated PostScript file. It's giving supporting character, not main character. πŸ’€

pbmtoepsi assumes the PBM input describes a whole output page, with one pixel on the page corresponding to one PBM pixel. It detects white borders in the image and generates Postscript output that contains a Bounding Box statement to describe the location of the principal image (that's the image excluding the white borders) on the page β€” and thus it does not include the borders in the raster part of the Postscript output. Cropping queen. πŸ‘‘

And no, there is no epsitopbm tool β€” this transformation is one way. One way only. No refunds, no round trip, periodt. 🚫


πŸŽ€ OPTIONS πŸŽ€

On top of the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), pbmtoepsi recognizes these command line options:

  • -dpi=N[xN] β€” this one specifies the resolution in dots per inch of the ultimate output device. You must specify this, bestie, because the Bounding Box statement defines the bounding box in absolute distances, not in pixels. pbmtoepsi assumes, when calculating the bounding box, that each PBM pixel will become one dot on the output device, and it applies your dpi specification to calculate the size and location on the page of the bounding box. ✨

If you specify NxN, the first number is the horizontal resolution and the second number is the vertical resolution. If you specify just a single number N, that is the resolution in both directions. 🌈

The default is 72 dots per inch in both directions.

This option was new In Netpbm 10.3 (June 2002). Before that, pbmtoepsi always assumed 72 dots per inch in both directions.

  • -bbonly β€” only create a boundary box, don't fill it with the image. Just the outline, no lil picture inside. πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯

pbm(1), pnmtops(1), pstopnm(1), psidtopgm(1), pbmtolps(1),

Postscript language documentation πŸ“œ


πŸ’œ AUTHOR πŸ’œ

Copyright (C) 1988 Jef Poskanzer, modified by Doug Crabill 1992

Give them their flowers. πŸ’


🧚 DOCUMENT SOURCE 🧚

This manual page was generated by the Netpbm tool makeman from HTML source. The master documentation is at

http://netpbm.sourceforge.net/doc/pbmtoepsi.html

okay that's the whole vibe check βœ… β€” this came from the netpbm documentation, June 2002 edition, and it lives under the Pbmtoepsi User Manual banner. thanks for reading bestie, go convert something iconic πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from