1Ppmtoterm User Manual(0) Ppmtoterm User Manual(0)
2
3
4
6 ppmtoterm - convert a PPM image to a ANSI ISO 6429 ascii image
7
8
10 ppmtoterm
11
12 [ppmfile]
13
14 All options can be abbreviated to their shortest unique prefix. You
15 may use two hyphens instead of one. You may separate an option name
16 and its value with white space instead of an equals sign.
17
18
20 This program is part of Netpbm(1).
21
22 This program tries to produce an accurate representation of a PPM image
23 on an terminal that implements the ANSI ISO 6429 standard. It aproxi‐
24 mates colors, finding the minimum cartesian distance between the input
25 RGB vectors and the ones in the generated palette. As the available
26 color palette is somewhat restricted, you get the best results when the
27 colors in the original image are few and the RGB intensities are close
28 to zero, half of maximum, and maximum.
29
30 You can usually get good results with cartoons or images with plain
31 colors (no gradients). With photos, results can vary, but are usually
32 not very accurate.
33
34 The output image has one line for each row and one character for each
35 column of the input image. E.g. an 80 pixel by 25 pixel PPM image
36 would fill up an 80x25 terminal screen. Use pamscale or pamcut to make
37 your image fit properly on your screen.
38
39 The image starts at the current cursor position on the terminal screen.
40 Each successive row starts at Column 0 on the screen. If you want to
41 shift the image up or down, for example to center it, use pnmpad on the
42 input.
43
44 This program was born with the objective of displaying nice color
45 images on the linux console, e.g. a proper logo at Linux boot.
46
47 pbmto4425 does a similar thing for black and white images, using line
48 drawing characters, on some terminals.
49
50
52 None.
53
54
55
57 pamscale(1), pamcut(1), pbmtoascii(1), pbmto4425(1), ppm(1)
58
59
60
62 Copyright (C) 2002 by Ero Carrera.
63
64
65
67 This program was new in Netpbm 10.9 (August 2002).
68
69
70
71netpbm documentation 17 August 2002 Ppmtoterm User Manual(0)