summary refs log tree commit diff
path: root/ppm.html
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2013-11-27 23:32:21 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2013-11-27 23:32:21 +0000
commit1d7e026e91d46a030396b8454d9a7e68efd09d79 (patch)
tree9c8220539f8ae61f2a76c4f3427689cc0e79851b /ppm.html
parent94b3dbf21a9f0595d9eacf28a93da4b0bd04d65b (diff)
downloadnetpbm-mirror-1d7e026e91d46a030396b8454d9a7e68efd09d79.tar.gz
netpbm-mirror-1d7e026e91d46a030396b8454d9a7e68efd09d79.tar.xz
netpbm-mirror-1d7e026e91d46a030396b8454d9a7e68efd09d79.zip
miscellaneous update
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@2040 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'ppm.html')
-rw-r--r--ppm.html18
1 files changed, 15 insertions, 3 deletions
diff --git a/ppm.html b/ppm.html
index 86886e43..05cfde72 100644
--- a/ppm.html
+++ b/ppm.html
@@ -42,6 +42,8 @@ scanner in question uses.&quot;
 Images in this format (or a precursor of it) were once also called
 "portable pixmaps."
 
+<H2 id="format">THE FORMAT</H2>
+
 <P>The format definition is as follows.  You can use the <a
 href="libnetpbm.html">libnetpbm</a> C subroutine library to read and
 interpret the format conveniently and accurately.
@@ -165,9 +167,9 @@ P3
 accepting anything that looks remotely like a PPM image.
 
 
-<h3 id="internetmediatype">Internet Media Type</h3>
+<h2 id="internetmediatype">INTERNET MEDIA TYPE</h2>
 
-<p>No Internet Media Type (aka MIME type, content type) for PBM has been
+<p>No Internet Media Type (aka MIME type, content type) for PPM has been
 registered with IANA, but the value <tt>image/x-portable-pixmap</tt> is
 conventional.
 
@@ -175,6 +177,14 @@ conventional.
 also applies.
 
 
+<h2 id="filename">FILE NAME</h2>
+
+<p>There are no requirements on the name of a PPM file, but the convention is
+to use the suffix &quot;.ppm&quot;.  &quot;pnm&quot; is also conventional, for
+cases where distinguishing between the particular subformats of PNM is not
+convenient.
+
+
 <H2 id="compatibility">COMPATIBILITY</H2>
 
 <P>Before April 2000, a raw format PPM file could not have a maxval greater
@@ -198,10 +208,12 @@ data after the first image.
 <H2 id="index">Table Of Contents</H2>
 <UL>
 <LI><A HREF="#description">DESCRIPTION</A>
+<LI><A HREF="#format">THE FORMAT</A>
 <ul>
   <li><A HREF="#plainppm">Plain PPM</A>
-  <li><A HREF="#internetmediatype">Internet Media Type</A>
     </ul>
+<li><A HREF="#internetmediatype">INTERNET MEDIA TYPE</A>
+<li><A HREF="#filename">FILE NAME</A>
 <LI><A HREF="#compatibility">COMPATIBILITY</A>
 <LI><A HREF="#seealso">SEE ALSO</A>
 </UL>