-->

Previous | Table of Contents | Next

Page 364

pbmtopgm

pbmtopgm—Convert portable bitmap to portable graymap by averaging areas

SYNOPSIS


pbmtopgm <width><height> [pbmfile]

DESCRIPTION

pbmtopgm reads a portable bitmap as input and outputs a portable graymap created by averaging the number of pixels within a sample area of width by height around each point. pbmtopgm is similar to a special case of ppmconvol. A ppmsmooth step may be needed after pbmtopgm.

pbmtopgm has the effect of antialiasing bitmaps that contain distinct line features.

SEE ALSO

pbm(5)

AUTHOR

Copyright " 1990 by Angus Duggan. Copyright " 1989 by Jef Poskanzer.

NOTES

pbmtopgm works best with odd sample widths and heights.

pbmtopi3

pbmtopi3—Convert a portable bitmap into an Atari Degas PI3 file

SYNOPSIS


pbmtopi3 [pbmfile]

DESCRIPTION

pbmtopi3 reads a portable bitmap as input and produces an Atari Degas PI3 file as output.

SEE ALSO

pi3topbm(1), pbm(5), ppmtopi1(1), pi1toppm(1)

AUTHOR

Copyright " 1988 by David Beckemeyer (bdt!david) and Jef Poskanzer.

11 March 1990

pbmtopk

pbmtopk—Convert a portable bitmap into a packed (PK) format font

SYNOPSIS


pbmtopk pkfile[.pk] tfmfile[.tfm] resolution [-s designsize] [-p num param...]

[-C cod-ingscheme] [-F family] [-f optfile] [-c num] [-W width] [-H height]

[-D depth] [-I ital] [-h horiz] [-v vert] [-x xoff] [-y yoff] [pbmfile]...

Page 365

DESCRIPTION

pbmtopk reads portable bitmaps as input and produces a packed (PK) font file and a TFM (TeX font metric) file as output. The resolution parameter indicates the resolution of the font, in dots per inch. If the filename - is used for any of the filenames, the standard input stream (or standard output, where appropriate) will be used.

OPTIONS

-s designsize Sets the design size of the font, in TeX's points (72.27 points to the inch). The default design size is 1. The TFM parameters are given as multiples of the design size.
-p num param... Sets the first num font parameters for the font. The first seven parameters are the slant, interword spacing, interword space stretchability, interword space shrinkability, x-height, quad width, and post-sentence extra space of the font. Math and symbol fonts may have more parameters; see The TeXbook for a list of these. Reasonable default values are chosen for parameters that are not specified.
-C codingscheme Sets the coding scheme comment in the TFM file.
-F family Sets the font family comment in the TFM file.
-f optfile Reads the file optfile, which should contain a line of the form:

filename xoff yoff horiz vert width height depth ital

The PBM files specified by the filename parameters are inserted consecutively in the font with the specified attributes. If any of the attributes are omitted, or replaced with *, a default value will be calculated from the size of the bitmap. The settings of the -W, -H, -D, -I, -h, -v, -x, and -y options do not affect characters created in this way. The character number can be changed by including a line starting with =, followed by the new number. Lines beginning with % or # are ignored.
-c num Sets the character number of the next bitmap encountered to num.
-W width Sets the TFM width of the next character to width (in design size multiples).
-H height Sets the TFM height of the next character to height (in design size multiples).
-D depth Sets the TFM depth of the next character to depth (in design size multiples).
-I ital Sets the italic correction of the next character to ital (in design size multiples).
-h horiz Sets the horizontal escapement of the next character to horiz (in pixels).
-v vert Sets the vertical escapement of the next character to vert (in pixels).
-x xoff Sets the horizontal offset of the next character to xoff (in pixels).
-y yoff Sets the vertical offset of the next character to yoff (in pixels, from the top row).

SEE ALSO

pktopbm(1), pbm(5)

AUTHOR

Adapted from Tom Rokicki's pxtopk by Angus Duggan (ajcd@dcs.ed.ac.uk).

6 August 1990

pbmtoplot

pbmtoplot—Convert a portable bitmap into a UNIX plot(5) file

SYNOPSIS


pbmtoplot [pbmfile]

DESCRIPTION

pbmtoplot reads a portable bitmap as input and produces a UNIX plot file.

Note that there is no plottopbm tool; this transformation is one way.

Page 366

SEE ALSO

pbm(5), plot(5)

AUTHOR

Copyright " 1990 by Arthur David Olson.

1 September 1990

pbmtoptx

pbmtoptx—Convert a portable bitmap into Printronix printer graphics

SYNOPSIS


pbmtoptx [pbmfile]

DESCRIPTION

pbmtoptx reads a portable bitmap as input and produces a file of Printronix printer graphics as output.

Note that there is no ptxtopbm tool; this transformation is one-way.

SEE ALSO

pbm(5)

AUTHOR

Copyright" 1988 by Jef Poskanzer

31 August 1988

pbmtox10bm

pbmtox10bm—Convert a portable bitmap into an X10 bitmap

SYNOPSIS


pbmtox10bm [pbmfile]

DESCRIPTION

pbmtox10bm reads a portable bitmap as input and produces an X10 bitmap as output. This older format is maintained for compatibility.

Note that there is no x10bmtopbm tool because xbmtopbm can read both X11 and X10 bitmaps.

SEE ALSO

pbmtoxbm(1), xbmtopbm(1), pbm(5)

AUTHOR

Copyright" 1988 by Jef Poskanzer.

31 August 1988

Page 367

pbmtoxbm

pbmtoxbm—Convert a portable bitmap into an X11 bitmap

SYNOPSIS


pbmtoxbm [pbmfile]

DESCRIPTION

pbmtoxbm reads a portable bitmap as input and produces an X11 bitmap as output.

SEE ALSO

pbmtox10bm(1), xbmtopbm(1), pbm(5)

AUTHOR

Copyright " 1988 by Jef Poskanzer.

31 August 1988

pgmtoybm

pgmtoybm—Convert a portable bitmap into a Bennet Yee "face" file

SYNOPSIS


pbmtoybm [pbmfile]

DESCRIPTION

pgmtoybm reads a portable bitmap as input and produces as output a file acceptable to the face and xbm programs by Bennet Yee (bsy+@cs.cmu.edu).

SEE ALSO

ybmtopbm(1), pbm(5), face(1), face(5), xbm(1)

AUTHORS

Copyright " 1991 by Jamie Zawinski and Jef Poskanzer.

6 March 1990

pbmtozinc

pbmtozinc—Convert a portable bitmap into a Zinc bitmap

SYNOPSIS


pbmtozinc [pbmfile]

DESCRIPTION

pbmtozinc reads a portable bitmap as input and produces a bitmap in the format used by the Zinc Interface Library (ZIL) version 1.0 as output.

SEE ALSO

pbm(5)

Previous | Table of Contents | Next