Ppmtoterm User Manual(0) Ppmtoterm User Manual(0)
NAME
ppmtoterm - convert a PPM image to a ANSI ISO 6429 ascii image
SYNOPSIS
ppmtoterm
[ppmfile]
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.
DESCRIPTION
This program is part of Netpbm(1).
This program tries to produce an accurate representation of a PPM image on an ter-
minal 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 intensi-
ties are close to zero, half of maximum, and maximum.
You can usually get good results with cartoons or images with plain colors (no gra-
dients). With photos, results can vary, but are usually not very accurate.
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 termi-
nal screen. Use pamscale or pamcut to make your image fit properly on your screen.
The image starts at the current cursor position on the terminal screen. Each suc-
cessive row starts at Column 0 on the screen. If you want to shift the image up or
down, for example to center it, use pnmpad on the input.
This program was born with the objective of displaying nice color images on the
linux console, e.g. a proper logo at Linux boot.
pbmto4425 does a similar thing for black and white images, using line drawing char-
acters, on some terminals.
OPTIONS
None.
SEE ALSO
pamscale(1), pamcut(1), pbmtoascii(1), pbmto4425(1), ppm(1)
AUTHOR
Copyright (C) 2002 by Ero Carrera.
HISTORY
This program was new in Netpbm 10.9 (August 2002).
netpbm documentation 17 August 2002 Ppmtoterm User Manual(0)
Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache/1.3.37 (Unix) mod_throttle/3.1.2 FrontPage/5.0.2.2635 mod_psoft_traffic/0.2 mod_ssl/2.8.28 OpenSSL/0.9.8b
Under GNU General Public License
2009-01-07 21:22 @38.103.63.55 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)