diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-12-25 03:06:05 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-12-25 03:06:05 +0000 |
commit | 1017cbebe5d5edd859e0fddad0a8600f509f4821 (patch) | |
tree | 78bdf336648566f7a7d55f42837357dea3dd674c /ppmtoterm.html | |
parent | 16f2ac126651015a376eba864a3a35f738b0b25a (diff) | |
download | netpbm-mirror-1017cbebe5d5edd859e0fddad0a8600f509f4821.tar.gz netpbm-mirror-1017cbebe5d5edd859e0fddad0a8600f509f4821.tar.xz netpbm-mirror-1017cbebe5d5edd859e0fddad0a8600f509f4821.zip |
Place user guide into Subversion repository
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@181 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'ppmtoterm.html')
-rw-r--r-- | ppmtoterm.html | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/ppmtoterm.html b/ppmtoterm.html new file mode 100644 index 00000000..a8afc658 --- /dev/null +++ b/ppmtoterm.html @@ -0,0 +1,100 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML><HEAD><TITLE>Ppmtoterm User Manual</TITLE></HEAD> +<BODY> +<H1>ppmtoterm</H1> +Updated: 17 August 2002 +<BR> +<A HREF="#index">Table Of Contents</A> + +<A NAME="lbAB"> </A> +<H2>NAME</H2> + +ppmtoterm - convert a PPM image to a ANSI ISO 6429 ascii image + +<A NAME="lbAC"> </A> +<H2>SYNOPSIS</H2> + +<B>ppmtoterm</B> + +[<I>ppmfile</I>] + +<P>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. + +<A NAME="lbAD"> </A> +<H2>DESCRIPTION</H2> + +<p>This program is part of <a href="index.html">Netpbm</a>. + +<P>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. + +<P>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. + +<P>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 <b>pamscale</b> or <b>pamcut</b> +to make your image fit properly on your screen. + +<P>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 +<b>pnmpad</b> on the input. + +<P>This program was born with the objective of displaying nice color +images on the linux console, e.g. a proper logo at Linux boot. + +<p><b>pbmto4425</b> does a similar thing for black and white images, using +line drawing characters, on some terminals. + +<A NAME="lbAE"> </A> +<H2>OPTIONS</H2> + +<P> +None. + + +<A NAME="lbAF"> </A> +<H2>SEE ALSO</H2> + +<B><A HREF="pamscale.html">pamscale</A></B>, +<B><A HREF="pamcut.html">pamcut</a></b>, +<B><A HREF="pbmtoascii.html">pbmtoascii</a></b>, +<B><A HREF="pbmto4425.html">pbmto4425</a></b>, +<B><A HREF="ppm.html">ppm</A></B> + + +<A NAME="lbAG"> </A> +<H2>AUTHOR</H2> + +Copyright (C) 2002 by Ero Carrera. + + +<A NAME="history"></a> +<h2>HISTORY</H2> + +<P>This program was new in Netpbm 10.9 (August 2002). + + +<HR> +<A NAME="index"> </A> +<H2>Table Of Contents</H2> +<UL> +<LI><A HREF="#lbAB">NAME</A> +<LI><A HREF="#lbAC">SYNOPSIS</A> +<LI><A HREF="#lbAD">DESCRIPTION</A> +<LI><A HREF="#lbAE">OPTIONS</A> +<LI><A HREF="#lbAF">SEE ALSO</A> +<LI><A HREF="#lbAG">AUTHOR</A> +</UL> +</BODY> +</HTML> + |