diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-02-02 02:47:05 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-02-02 02:47:05 +0000 |
commit | cb0c4d7bbedc633ba7e9ba8f7a11062eb7c61f40 (patch) | |
tree | c7cb96e46c32335cdef45eae9de7a4aed188346f /pamtopnm.html | |
parent | 44842bc954236c3d85b478d47d088f0bab2afd51 (diff) | |
download | netpbm-mirror-cb0c4d7bbedc633ba7e9ba8f7a11062eb7c61f40.tar.gz netpbm-mirror-cb0c4d7bbedc633ba7e9ba8f7a11062eb7c61f40.tar.xz netpbm-mirror-cb0c4d7bbedc633ba7e9ba8f7a11062eb7c61f40.zip |
miscellaneous update
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@3137 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'pamtopnm.html')
-rw-r--r-- | pamtopnm.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pamtopnm.html b/pamtopnm.html index 60ed9f03..46b71477 100644 --- a/pamtopnm.html +++ b/pamtopnm.html @@ -2,7 +2,7 @@ <HTML><HEAD><TITLE>Pamtopnm User Manual</TITLE></HEAD> <BODY> <H1>pamtopnm</H1> -Updated: 10 May 2010 +Updated: 02 February 2018 <BR> <A HREF="#index">Table Of Contents</A> @@ -47,6 +47,15 @@ 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>Note that it's possible for an image which is formally color to in fact +contain only shades of gray and for an image which is formally grayscale to +contain only black and white. This program pays no attention to that; an RGB +input image produces a PPM output image even if all the pixels are gray. But +you can use <b>ppmtopgm</b> to convert a PPM that you know is grayscale to the +equivalent PGM, and you can use <b>pamthreshold</b> to convert a PGM image you +know is black and white to a black and white PAM image and then +use <b>pamtopnm</b> to convert that to PBM. + <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 @@ -74,6 +83,7 @@ run the input through <B>pamchannel</B> first. But be careful with <B><A HREF="pamditherbw.html">pamditherbw</A></B>, <B><A HREF="pgmtoppm.html">pgmtoppm</A></B>, <B><A HREF="ppmtopgm.html">ppmtopgm</A></B>, +<B><A HREF="pamthreshold.html">pamthreshold</A></B>, <B><A HREF="pam.html">pam</A></B>, <B><A HREF="pnm.html">pnm</A></B>, <B><A HREF="pbm.html">pbm</A></B>, |