added a new transparency ordered dither (works better for displays)
authorTony Cook <tony@develop=help.com>
Sun, 22 Apr 2001 10:48:43 +0000 (10:48 +0000)
committerTony Cook <tony@develop=help.com>
Sun, 22 Apr 2001 10:48:43 +0000 (10:48 +0000)
quant.c

diff --git a/quant.c b/quant.c
index 0c7cc24831a8f2f54fb854b5a676610d6a9579e7..6eb8db140bef0ef92bc40914af056d49759f019e 100644 (file)
--- a/quant.c
+++ b/quant.c
@@ -1393,6 +1393,20 @@ unsigned char orddith_maps[][64] =
     232, 224, 196, 140, 108,  68,  24,  76,
     248, 244, 212, 188, 160, 124,  80,   4,
   },
+  {
+    /* tiny
+       good for display, bad for print
+       hand generated
+    */
+      0, 128,  32, 192,   8, 136,  40, 200,
+    224,  64, 160, 112, 232,  72, 168, 120,
+     48, 144,  16, 208,  56, 152,  24, 216,
+    176,  96, 240,  80, 184, 104, 248,  88,
+     12, 140,  44, 204,   4, 132,  36, 196,
+    236,  76, 172, 124, 228,  68, 164, 116,
+     60, 156,  28, 220,  52, 148,  20, 212,
+    188, 108, 252,  92, 180, 100, 244,  84,
+  },
 };
 
 static void