-->

Previous | Table of Contents | Next

Page 400

output file. By default, the output file has the number of rows per strip set to a value that will ensure each strip is no more than eight kilobytes long.

BUGS

This program is not self-contained. To use it you must fetch the TIFF Software package listed in the OTHER.SYSTEMS file and configure PBMPLUS to use libtiff. See PBM-PLUS's Makefile for details on this configuration.

SEE ALSO


tifftopnm(1), pnm(5)

AUTHOR

Derived by Jef Poskanzer from ras2tiff.c, which is Copyright" 1990 by Sun Microsystems, Inc. Author: Patrick J. Naughton (naughton@wind.sun.com).

13 January 1991

pnmtoxwd

pnmtoxwd—Convert a portable anymap into an X11 window dump

SYNOPSIS


pnmtoxwd [-pseudodepth n][-directcolor][pnmfile]

DESCRIPTION

pnmtoxwd reads a portable anymap as input and produces an X11 window dump as output. This window dump can be displayed using the xwud tool.

Normally, pnmtoxwd produces a StaticGray dump file for PBM and PGM files. For ppm, it writes a PseudoColor dump file if there are up to 256 colors in the input, and a DirectColor dump file otherwise. The -directcolor flag can be used to force a DirectColor dump. The -pseudodepth flag can be used to change the depth of PseudoColor dumps from the default of 8 bits/256 colors.

SEE ALSO

xwdtopnm(1), pnm(5), xwud(1)

AUTHOR

Copyright" 1989, 1991 by Jef Poskanzer.

24 September 1991

ppm3d

ppm3d—Convert two portable pixmap into a red/blue 3D glasses pixmap

SYNOPSIS


ppm3d leftppmfile rightppmfile [horizontal_offset]

DESCRIPTION

ppm3d reads two portable pixmaps as input and produces a portable pixmap as output, with the images overlapping by horizontal_offset pixels in blue/red format.

horizontal_offset defaults to 30 pixels. Pixmaps must be the same size.

Page 401

See Also


ppm(5)

AUTHOR

Copyright " 1993 by David K. Drum.

2 November 1993

ppmbrighten

ppmbrighten—Change an image's saturation and value from an HSV map

SYNOPSIS


ppmbrighten [-n] [-s <+- saturation>] [-v <+- value>] <ppmfile>

DESCRIPTION

ppmbrighten reads a portable pixmap as input, converts the image from RGB space to HSV space, and changes the value by <+- value> as a percentage; the same with the saturation. Use


ppmbrighten -v 100

to add 100 percent to the value.

The n option normalizes the value to exist between 0 and 1 (normalized).

SEE ALSO

pgmnorm(1), ppm(5)

AUTHOR

Copyright" 1990 by Brian Moffet. Copyright" 1989 by Jef Poskanzer.

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This software is provided "as is" without express or implied warranty.

NOTES

This program does not change the number of colors.

20 November 1990

ppmchange

ppmchange—Change all pixels of one color to another in a portable pixmap

SYNOPSIS


ppmchange oldcolor newcolor [...] [ppmfile]

DESCRIPTION

ppmchange reads a portable pixmap as input and changes all pixels of oldcolor to newcolor, leaving all others unchanged. Up to 256 colors may be replaced by specifying couples of colors on the command line.

Page 402

The colors can be specified in five ways:

SEE ALSO


pgmtoppm(1), ppm(5)

AUTHOR

Wilson H. Bent, Jr. (whb@usc.edu), with modifications by Alberto Accomazzi (alberto@cfa.harvard.edu).

3 December 1993

ppmdim

ppmdim—Dim a portable pixmap down to total blackness

SYNOPSIS


ppmdim dimfactor [ppmfile]

DESCRIPTION

ppmdim reads a portable pixmap as input and diminishes its brightness by the specified dimfactor down to total blackness. The dimfactor may be in the range from 0.0 (total blackness, deep night, nada, null, nothing) to 1.0 (original picture's brightness).

As pnmgamma does not do the brightness correction in the way I wanted it, I wrote this small program.

ppmdim is similar to ppmbrighten, but not exactly the same.

SEE ALSO


ppm(5), ppmflash(1), pnmgamma(1), ppmbrighten(1)

AUTHOR

Copyright" 1993 by Frank Neumann.

16 November 1993

ppmdist

ppmdist—Simplistic grayscale assignment for machine-generated color images

SYNOPSIS


ppmdist [-intensity|-frequency][ppmfile]

DESCRIPTION

ppmdist reads a portable pixmap as input and performs a simplistic grayscale assignment intended for use with grayscale or bitmap printers.

Previous | Table of Contents | Next