# HG changeset patch # User robcast # Date 1299621533 -3600 # Node ID 74062b7d9b228bbc61a2256e11bedde8c6eb728e # Parent fe58284a8dd9062d81dd6083dcf340e6c8160f81 fixed colop=map_gray_bgr. diff -r fe58284a8dd9 -r 74062b7d9b22 servlet/src/digilib/image/ImageLoaderDocuImage.java --- 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; } }