comparison servlet/src/digilib/image/DocuImage.java @ 829:a630d0303cce stream

new servlet operation colop=grayscale.
author robcast
date Fri, 25 Feb 2011 11:34:49 +0100
parents a23c4c15a6a8
children c07c21ac78f9
comparison
equal deleted inserted replaced
828:ba708c57e57c 829:a630d0303cce
200 * @throws ImageOpException 200 * @throws ImageOpException
201 */ 201 */
202 public void enhanceRGB(float[] rgbm, float[] rgba) 202 public void enhanceRGB(float[] rgbm, float[] rgba)
203 throws ImageOpException; 203 throws ImageOpException;
204 204
205
206 /** Operations for colorOps.
207 *
208 *
209 */
210 public enum ColorOp {GRAYSCALE};
211
212 /** Changes the colors of the current image.
213 *
214 * Changes the colors of the current image. Operations are e.g.
215 * reduction to grayscale or false-color palettes.
216 *
217 * @throws ImageOpException
218 */
219 public void colorOp(ColorOp op) throws ImageOpException;
220
205 /** 221 /**
206 * Returns the interpolation quality. 222 * Returns the interpolation quality.
207 * @return int 223 * @return int
208 */ 224 */
209 public int getQuality(); 225 public int getQuality();