about summary refs log tree commit diff
path: root/lib/ppm.h
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-09-04 18:14:59 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-09-04 18:14:59 +0000
commitab395adc780e78b5f1ba0ff7a4c69415b3de928a (patch)
tree4ab74fa71323c897e4dd197846296da4f957f344 /lib/ppm.h
parentfc13ef5f73e9b97e7353ae980b470a59066b7ddc (diff)
downloadnetpbm-mirror-ab395adc780e78b5f1ba0ff7a4c69415b3de928a.tar.gz
netpbm-mirror-ab395adc780e78b5f1ba0ff7a4c69415b3de928a.tar.xz
netpbm-mirror-ab395adc780e78b5f1ba0ff7a4c69415b3de928a.zip
Adjustments to Berlin-Kay fuzzy color matching
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@36 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/ppm.h')
-rw-r--r--lib/ppm.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ppm.h b/lib/ppm.h
index 033330b9..b4350e1d 100644
--- a/lib/ppm.h
+++ b/lib/ppm.h
@@ -261,20 +261,20 @@ typedef enum {
     /* A color from the set of universally understood colors developed
        by Brent Berlin and Paul Kay
     */
-    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,