diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-09-21 18:00:16 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-09-21 18:00:16 +0000 |
commit | 3a2be6f9d910b862d4e5ea237d734315627dd661 (patch) | |
tree | 0525085036572441949db4493a31afa5c8813a91 /lib/ppm.h | |
parent | 3aa04aa72c6ec522395919d528dfce6a92b0de98 (diff) | |
download | netpbm-mirror-3a2be6f9d910b862d4e5ea237d734315627dd661.tar.gz netpbm-mirror-3a2be6f9d910b862d4e5ea237d734315627dd661.tar.xz netpbm-mirror-3a2be6f9d910b862d4e5ea237d734315627dd661.zip |
Release 10.36.0
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@65 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/ppm.h')
-rw-r--r-- | lib/ppm.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/lib/ppm.h b/lib/ppm.h index 033330b9..622d3e09 100644 --- a/lib/ppm.h +++ b/lib/ppm.h @@ -259,22 +259,25 @@ ppm_saturation(pixel const p, typedef enum { /* A color from the set of universally understood colors developed - by Brent Berlin and Paul Kay + by Brent Berlin and Paul Kay. + + Algorithms in libnetpbm depend on the numerical representations + of these values being as follows. */ - BKCOLOR_BLACK = 0, - BKCOLOR_GRAY, - BKCOLOR_WHITE, - BKCOLOR_RED, + BKCOLOR_GRAY = 0, + BKCOLOR_BROWN, BKCOLOR_ORANGE, + BKCOLOR_RED, BKCOLOR_YELLOW, BKCOLOR_GREEN, BKCOLOR_BLUE, BKCOLOR_VIOLET, BKCOLOR_PURPLE, - BKCOLOR_BROWN + BKCOLOR_WHITE, + BKCOLOR_BLACK } bk_color; -#define BKCOLOR_COUNT (BKCOLOR_BROWN+1) +#define BKCOLOR_COUNT (BKCOLOR_BLACK+1) bk_color ppm_bk_color_from_color(pixel const color, |