summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-10-03 18:14:02 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-10-03 18:14:02 +0000
commit16fc707f36b9c7e10d40cea4a6dd3402fa2cbc0d (patch)
tree74c8b8e8f20b15acca73a45eb241c8dc5ba7c938
parentc907dab62741cb648c3e705ef3ecfd7e110f2ba7 (diff)
downloadnetpbm-mirror-userguide.tar.gz
netpbm-mirror-userguide.tar.xz
netpbm-mirror-userguide.zip
miscellaneous update userguide
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@4958 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--libnetpbm_image.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/libnetpbm_image.html b/libnetpbm_image.html
index 8023a940..5ceb3f95 100644
--- a/libnetpbm_image.html
+++ b/libnetpbm_image.html
@@ -619,7 +619,7 @@ in PAM visual images and normalizes or unnormalizes the sample values.
 <b>pnm_freegammatransform()</b> and <b>pnm_freeungammatransform()</b>
 destroy the objects.
 
-<h3 id="colorname">Color specification</h3>
+<h3 id="colorspec">Color specification</h3>
 
 <p>These are functions you use that deal with names or identifiers for colors.
 
@@ -680,6 +680,12 @@ destroy the objects.
 
 <h4>Description</h4>
 
+<p>These functions deal with color names, either interpreting a given color
+name as a color or determining a color name for a given color.  Examples of
+color names are &quot;pink&quot; and &quot;rgbi:1.0/0.5/0.25&quot;.  See
+<a href="#colorname">Color name</a> for a description of the various
+ways Netpbm names colors.
+  
 <p><b>pnm_parsecolor</b>, <b>pnm_parsecolor2</b>, and <b>pnm_parsecolorn</b>
 return a color in the conventional form used by <b>libnetpbm</b> to
 represent a color, given a human-intelligible name for the color such
@@ -726,7 +732,7 @@ function cannot find a color dictionary file or the file it finds does not
 contain even a single color definition, the function returns a null string.
 
 
-<h5>Color name</h5>
+<h5 id="colorname">Color Name</h5>
 
 <p>Color names in Netpbm are ASCII text in one of the formats described
 below.  This is what you use for the <i>colorname</i> argument of functions
@@ -818,7 +824,7 @@ its header).
     <li><a href="#reading">Reading Netpbm Files</a>
     <li><a href="#writing">Writing Netpbm Files</a>
     <li><a href="#transform">Transforming Pixels</a>
-    <li><a href="#colorname">Color Specification</a>
+    <li><a href="#colorspec">Color Specification</a>
     <li><a href="#misc">Miscellaneous</a>
     </ul>
   </ul>