.TL Pbmtoepsi User Manual .SH 1 pbmtoepsi .LP Updated: June 2002 .br Table Of Contents .SH 2 NAME .LP pbmtoepsi - convert a PBM image to an encapsulated PostScript style preview bitmap .SH 2 SYNOPSIS .LP \fBpbmtoepsi\fR [\fB-dpi=\fR\fIN\fR[\fBx\fR\fIN\fR]] [\fB-bbonly\fR] [\fIpbmfile\fR] .LP 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. .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP Reads a PBM image as input. Produces an encapsulated Postscript style bitmap as output. The output is not a stand alone postscript file, it is only a preview bitmap, which can be included in an encapsulated PostScript file. .LP \fBpbmtoepsi\fR 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 (the image excluding the white borders) on the page and thus does not include the borders in the raster part of the Postscript output. .LP There is no \fBepsitopbm\fR tool - this transformation is one way. .SH 2 OPTIONS .LP .RS .IP "\fB-dpi=\fR\fIN\fR[\fBx\fR\fIN\fR]" .LP This option specifies the resolution in dots per inch of the ultimate output device. You must specify this because the Bounding Box statement defines the bounding box in absolute distances, not in pixels. \fBpbmtoepsi\fR assumes in calculating the bounding box that each PBM pixel will become one dot on the output device, and applies your \fBdpi\fR specification to calculate the size and location on the page of the bounding box. .LP If you specify \fIN\fR\fBx\fRN, the first number is the horizontal resolution and the second number is the vertical resolution. If you specify just a single number \fIN\fR, that is the resolution in both directions. .LP The default is 72 dots per inch in both directions. .LP This option was new In Netpbm 10.3 (June 2002). Before that, \fBpbmtoepsi\fR always assumed 72 dots per inch in both directions. .IP "\fB-bbonly\fR" Only create a boundary box, don't fill it with the image. .RE .SH 2 SEE ALSO .LP \fBpbm\fR, \fBpnmtops\fR, \fBpstopnm\fR, \fBpsidtopgm\fR, \fBpbmtolps\fR, Postscript language documentation .SH 2 AUTHOR .LP Copyright (C) 1988 Jef Poskanzer, modified by Doug Crabill 1992 .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu OPTIONS .IP \(bu SEE ALSO .IP \(bu AUTHOR .LP