.TL
Ppmtoterm User Manual
.SH 1
ppmtoterm
.LP
Updated: 17 August 2002
.br
Table Of Contents
.SH 2
NAME
.LP
ppmtoterm - convert a PPM image to a ANSI ISO 6429 ascii image
.SH 2
SYNOPSIS
.LP
\fBppmtoterm\fR
[\fIppmfile\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
This program tries to produce an accurate representation of a PPM
image on an terminal that implements the ANSI ISO 6429 standard. It
aproximates colors, finding the minimum cartesian distance between the
input RGB vectors and the ones in the generated palette. As the
available color palette is somewhat restricted, you get the best
results when the colors in the original image are few and the RGB
intensities are close to zero, half of maximum, and maximum.
.LP
You can usually get good results with cartoons or images with
plain colors (no gradients). With photos, results can vary, but are
usually not very accurate.
.LP
The output image has one line for each row and one character for each
column of the input image. E.g. an 80 pixel by 25 pixel PPM image would
fill up an 80x25 terminal screen. Use \fBpamscale\fR or \fBpamcut\fR
to make your image fit properly on your screen.
.LP
The image starts at the current cursor position on the terminal
screen. Each successive row starts at Column 0 on the screen. If you want
to shift the image up or down, for example to center it, use
\fBpnmpad\fR on the input.
.LP
This program was born with the objective of displaying nice color
images on the linux console, e.g. a proper logo at Linux boot.
.LP
\fBpbmto4425\fR does a similar thing for black and white images, using
line drawing characters, on some terminals.
.SH 2
OPTIONS
.LP
.LP
None.
.SH 2
SEE ALSO
.LP
\fBpamscale\fR,
\fBpamcut\fR,
\fBpbmtoascii\fR,
\fBpbmto4425\fR,
\fBppm\fR
.SH 2
AUTHOR
.LP
Copyright (C) 2002 by Ero Carrera.
.SH 2
HISTORY
.LP
.LP
This program was new in Netpbm 10.9 (August 2002).
.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
|