1Pbmtoepsi User Manual(0) Pbmtoepsi User Manual(0)
2
3
4
6 pbmtoepsi - convert a PBM image to an encapsulated PostScript style
7 preview bitmap
8
9
11 pbmtoepsi [-dpi=N[xN]] [-bbonly] [pbmfile]
12
13 All options can be abbreviated to their shortest unique prefix. You
14 may use two hyphens instead of one. You may separate an option name
15 and its value with white space instead of an equals sign.
16
17
19 This program is part of Netpbm(1).
20
21 Reads a PBM image as input. Produces an encapsulated Postscript style
22 bitmap as output. The output is not a stand alone postscript file, it
23 is only a preview bitmap, which can be included in an encapsulated
24 PostScript file.
25
26 pbmtoepsi assumes the PBM input describes a whole output page, with one
27 pixel on the page corresponding to one PBM pixel. It detects white
28 borders in the image and generates Postscript output that contains a
29 Bounding Box statement to describe the location of the principal image
30 (the image excluding the white borders) on the page and thus does not
31 include the borders in the raster part of the Postscript output.
32
33 There is no epsitopbm tool - this transformation is one way.
34
35
37 -dpi=N[xN]
38
39 This option specifies the resolution in dots per inch of the
40 ultimate output device. You must specify this because the
41 Bounding Box statement defines the bounding box in absolute
42 distances, not in pixels. pbmtoepsi assumes in
43 calculating the bounding box that each PBM pixel will
44 become one
45 dot on the output device, and applies your dpi
46 specification to calculate the size and location on the
47 page of
48 the bounding box.
49
50 If you specify NxN, the first number is the
51 horizontal resolution and the second number is the vertical
52 resolution. If you specify just a single number N, that is
53 the
54 resolution in both directions.
55
56 The default is 72 dots per inch in both directions.
57
58 This option was new In Netpbm 10.3 (June 2002). Before that,
59 pbmtoepsi always assumed 72 dots per inch in both direcā
60 tions.
61
62
63 -bbonly
64 Only create a boundary box, don't fill it with the image.
65
66
67
69 pbm(1), pnmtops(1), pstopnm(1), psidtopgm(1), pbmtolps(1),
70
71 Postscript language documentation
72
73
75 Copyright (C) 1988 Jef Poskanzer, modified by Doug Crabill 1992
76
77
78
79netpbm documentation June 2002 Pbmtoepsi User Manual(0)