changeset 861:74062b7d9b22 stream

fixed colop=map_gray_bgr.
author robcast
date Tue, 08 Mar 2011 22:58:53 +0100
parents fe58284a8dd9
children 1641fab276ee
files servlet/src/digilib/image/ImageLoaderDocuImage.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/servlet/src/digilib/image/ImageLoaderDocuImage.java	Tue Mar 08 21:00:56 2011 +0100
+++ b/servlet/src/digilib/image/ImageLoaderDocuImage.java	Tue Mar 08 22:58:53 2011 +0100
@@ -109,7 +109,7 @@
                 mapB[i] = (byte) (255 - 2 * (i - 64));
 			} else {
                 mapR[i] = (byte) 255;
-                mapG[i] = (byte) (4 * (i - 192));
+                mapG[i] = (byte) (255 - (4 * (i - 192)));
                 mapB[i] = 0;
 			}
 		}