1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/pbmtoepsi.md
Juri Dispan 0414572c3c
cmuwmtopbm, escp2topbm, pbmtocmuwm, pbmtoepsi, ebmtoepson, pbmtoescp2, pbmtogo: add pages (#12235)
* cmuwmtopbm, escp2topbm, pbmtocmuwm, pbmtoepsi, ebmtoepson, pbmtoescp2, pbmtogo: add pages

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-02-12 19:43:35 +05:30

691 B

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 -dpi {{144}} {path/to/image.pbm}} > {{path/to/output.bmp}}

  • Produce an output image with the specified horizontal and vertical resolution:

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

  • Only create a boundary box:

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