summary refs log tree commit diff
path: root/pamtopnm.html
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-05-10 15:45:53 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-05-10 15:45:53 +0000
commitccb00d8795ad467187e6cdbf4ea4ac834134a3f2 (patch)
tree40519a09f4da308b9346ba1bab7381663adb8ec4 /pamtopnm.html
parent5584b34dea3f91fb47484f8e17a1a2d42375cf13 (diff)
downloadnetpbm-mirror-ccb00d8795ad467187e6cdbf4ea4ac834134a3f2.tar.gz
netpbm-mirror-ccb00d8795ad467187e6cdbf4ea4ac834134a3f2.tar.xz
netpbm-mirror-ccb00d8795ad467187e6cdbf4ea4ac834134a3f2.zip
"miscellaneous update"
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@1210 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'pamtopnm.html')
-rw-r--r--pamtopnm.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/pamtopnm.html b/pamtopnm.html
index 67657ae7..24971df7 100644
--- a/pamtopnm.html
+++ b/pamtopnm.html
@@ -2,7 +2,7 @@
 <HTML><HEAD><TITLE>Pamtopnm User Manual</TITLE></HEAD>
 <BODY>
 <H1>pamtopnm</H1>
-Updated: 03 August 2000
+Updated: 10 May 2010
 <BR>
 <A HREF="#index">Table Of Contents</A>
 
@@ -39,6 +39,14 @@ and its depth and maxval are appropriate.  If this is not the case,
 <P>However, you can override the tuple type requirement with the
 <B>-assume</B> option.
 
+<p><b>pamtopnm</b> produces a PPM image if the input PAM has depth 3 or 4; it
+produces PGM or PBM if the input PAM has depth 1 or 2.  Whether it produced
+PGM or PBM depends upon the maxval: PBM for 1, PGM for anything higher.  The
+tuple type does not play a role in determining the output type.  You can
+use Netpbm programs such as <b>pgmtopgm</b> to generate a different PNM
+output, but remember that Netpbm program that expects PGM input will take
+PBM and so on.
+
 <P>As with any Netpbm program that reads PAM images, <B>pamtopnm</B>
 also reads PNM images as if they were PAM.  In that case,
 <B>pamtopnm</B>'s functions reduces to simply copying the input to the