From 788a260c0eb1c6e3500429c28a2ef258d0c2d081 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 1 Apr 2024 17:26:11 +0000 Subject: miscellaneous update git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@4902 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- libppm.html | 12 +++++++++--- ppmhist.html | 8 ++++---- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/libppm.html b/libppm.html index 51beaa8f..a37ac695 100644 --- a/libppm.html +++ b/libppm.html @@ -6,7 +6,7 @@

libppm

-Updated: 27 March 2024 +Updated: 31 March 2024
Table Of Contents @@ -477,16 +477,22 @@ the value of the RGBDEF environment variable. If RGBDEF is not set, Netpbm defaults to the first existing file from this list:
    +
  1. /usr/local/netpbm/rgb.txt +
  2. /usr/share/netpbm/rgb.txt +
  3. /etc/X11/rgb.txt
  4. /usr/lib/X11/rgb.txt
  5. /usr/openwinlib/rgb.txt
  6. /usr/X11R6/lib/X11/rgb.txt
+This is the default list; it can vary based on options used when Netbpm is +built. +

You can see the color names from a typical X11 color dictionary, which is probably very close to what is on your system, along with the colors, here. This +href="http://people.csail.mit.edu/~jaffer/Color/x11.pdf">here. This website shows a bunch of other versions you could use.

Netpbm accepts color dictionaries that have multiple colors for a given diff --git a/ppmhist.html b/ppmhist.html index e2ba973a..f8674d30 100644 --- a/ppmhist.html +++ b/ppmhist.html @@ -132,10 +132,10 @@ Generates the histogram for human reading. This is the default.

-colorname -
Add the color name to the output. This is the name from the system color dictionary. If the exact -color is not in the color dictionary, it is the closest color that is -in the dictionary and is preceded by a '*'. If you don't have a +
Add the color name to the output. This is the name from +the system color dictionary. If the +exact color is not in the color dictionary, it is an asterisk followed by the +name of the closest color that is in the dictionary. If you don't have a system color dictionary, the program fails.

This option was added in Netpbm 10.10 (October 2002). -- cgit 1.4.1