comparison servlet/src/digilib/image/DocuImage.java @ 834:c07c21ac78f9 stream

color invert operation. doesn't work with all image types yet...
author robcast
date Tue, 01 Mar 2011 15:17:51 +0100
parents a630d0303cce
children fe58284a8dd9
comparison
equal deleted inserted replaced
833:8ee72433bb8f 834:c07c21ac78f9
205 205
206 /** Operations for colorOps. 206 /** Operations for colorOps.
207 * 207 *
208 * 208 *
209 */ 209 */
210 public enum ColorOp {GRAYSCALE}; 210 public enum ColorOp {GRAYSCALE, INVERT};
211 211
212 /** Changes the colors of the current image. 212 /** Changes the colors of the current image.
213 * 213 *
214 * Changes the colors of the current image. Operations are e.g. 214 * Changes the colors of the current image. Operations are e.g.
215 * reduction to grayscale or false-color palettes. 215 * reduction to grayscale or false-color palettes.