| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN"> |
| 2 |
<html><head><title>Pbmtoepsi User Manual</title></head> |
| 3 |
<body> |
| 4 |
<h1>pbmtoepsi</h1> |
| 5 |
Updated: June 2002 |
| 6 |
<br> |
| 7 |
<a href="#index">Table Of Contents</a> |
| 8 |
|
| 9 |
<h2>NAME</h2> |
| 10 |
pbmtoepsi - convert a PBM image to an encapsulated PostScript |
| 11 |
style preview bitmap |
| 12 |
|
| 13 |
<h2 id="synopsis">SYNOPSIS</h2> |
| 14 |
|
| 15 |
<b>pbmtoepsi</b> |
| 16 |
[<b>-dpi=</b><i>N</i>[<b>x</b><i>N</i>]] |
| 17 |
[<b>-bbonly</b>] |
| 18 |
[<i>pbmfile</i>] |
| 19 |
|
| 20 |
<p>All options can be abbreviated to their shortest unique prefix. |
| 21 |
You may use two hyphens instead of one. You may separate an option |
| 22 |
name and its value with white space instead of an equals sign. |
| 23 |
|
| 24 |
<h2 id="description">DESCRIPTION</h2> |
| 25 |
|
| 26 |
<p>This program is part of <a href="index.html">Netpbm</a>. |
| 27 |
|
| 28 |
<p>Reads a PBM image as input. Produces an encapsulated Postscript |
| 29 |
style bitmap as output. The output is not a stand alone postscript |
| 30 |
file, it is only a preview bitmap, which can be included in an |
| 31 |
encapsulated PostScript file. |
| 32 |
|
| 33 |
<p><b>pbmtoepsi</b> assumes the PBM input describes a whole output |
| 34 |
page, with one pixel on the page corresponding to one PBM pixel. It |
| 35 |
detects white borders in the image and generates Postscript output |
| 36 |
that contains a Bounding Box statement to describe the location of the |
| 37 |
principal image (the image excluding the white borders) on the page |
| 38 |
and thus does not include the borders in the raster part of the |
| 39 |
Postscript output. |
| 40 |
|
| 41 |
<p>There is no <b>epsitopbm</b> tool - this transformation is one way. |
| 42 |
|
| 43 |
<h2 id="options">OPTIONS</h2> |
| 44 |
|
| 45 |
<p>In addition to the options common to all programs based on libnetpbm |
| 46 |
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions"> |
| 47 |
Common Options</a>), <b>pbmtoepsi</b> recognizes the following |
| 48 |
command line options: |
| 49 |
|
| 50 |
<dl compact> |
| 51 |
<dt><b>-dpi=</b><i>N</i>[<b>x</b><i>N</i>] |
| 52 |
|
| 53 |
<dd> |
| 54 |
<p>This option specifies the resolution in dots per inch of the |
| 55 |
ultimate output device. You must specify this because the |
| 56 |
Bounding Box statement defines the bounding box in absolute |
| 57 |
distances, not in pixels. <b>pbmtoepsi</b> assumes in |
| 58 |
calculating the bounding box that each PBM pixel will become one |
| 59 |
dot on the output device, and applies your <b>dpi</b> |
| 60 |
specification to calculate the size and location on the page of |
| 61 |
the bounding box. |
| 62 |
|
| 63 |
<p>If you specify <i>N</i><b>x</b>N, the first number is the |
| 64 |
horizontal resolution and the second number is the vertical |
| 65 |
resolution. If you specify just a single number <i>N</i>, that is the |
| 66 |
resolution in both directions. |
| 67 |
|
| 68 |
<p>The default is 72 dots per inch in both directions. |
| 69 |
|
| 70 |
<p>This option was new In Netpbm 10.3 (June 2002). Before that, |
| 71 |
<b>pbmtoepsi</b> always assumed 72 dots per inch in both directions. |
| 72 |
|
| 73 |
<dt><b>-bbonly</b> |
| 74 |
|
| 75 |
<dd> |
| 76 |
Only create a boundary box, don't fill it with the image. |
| 77 |
</dl> |
| 78 |
|
| 79 |
<h2 id="seealso">SEE ALSO</h2> |
| 80 |
|
| 81 |
<b><a href="pbm.html">pbm</a></b>, |
| 82 |
|
| 83 |
<b><a href="pnmtops.html">pnmtops</a></b>, |
| 84 |
|
| 85 |
<b><a href="pstopnm.html">pstopnm</a></b>, |
| 86 |
|
| 87 |
<b><a href="psidtopgm.html">psidtopgm</a></b>, |
| 88 |
|
| 89 |
<b><a href="pbmtolps.html">pbmtolps</a></b>, |
| 90 |
|
| 91 |
Postscript language documentation |
| 92 |
|
| 93 |
<h2 id="author">AUTHOR</h2> |
| 94 |
|
| 95 |
Copyright (C) 1988 Jef Poskanzer, modified by Doug Crabill 1992 |
| 96 |
|
| 97 |
<hr> |
| 98 |
<h2 id="index">Table Of Contents</h2> |
| 99 |
<ul> |
| 100 |
<li><a href="#synopsis">SYNOPSIS</a> |
| 101 |
<li><a href="#description">DESCRIPTION</a> |
| 102 |
<li><a href="#options">OPTIONS</a> |
| 103 |
<li><a href="#seealso">SEE ALSO</a> |
| 104 |
<li><a href="#author">AUTHOR</a> |
| 105 |
</ul> |
| 106 |
</body> |
| 107 |
</html> |