r9967 - in helma/helma/trunk/src/helma/image: . imageio/gif
[email protected] Fri, 25 Sep 2009 12:57:50 +0200 (CEST)
| Newsgroups | gmane.comp.java.helma.cvs |
|---|---|
| Message-ID | <20090925105750.44BFA3D0E2@mia> |
Author: lehni
Date: 2009-09-25 12:57:50 +0200 (Fri, 25 Sep 2009)
New Revision: 9967
Modified:
helma/helma/trunk/src/helma/image/ColorQuantizer.java
helma/helma/trunk/src/helma/image/imageio/gif/GIFImageWriteParam.java
Log:
Cleaned up imports and removed unused variables.
Details at http://dev.helma.org/trac/helma/changeset/9967
Modified: helma/helma/trunk/src/helma/image/ColorQuantizer.java
===================================================================
--- helma/helma/trunk/src/helma/image/ColorQuantizer.java 2009-09-22 17:37:52 UTC (rev 9966)
+++ helma/helma/trunk/src/helma/image/ColorQuantizer.java 2009-09-25 10:57:50 UTC (rev 9967)
@@ -521,7 +521,6 @@
// create the right color model, depending on transparency settings:
IndexColorModel icm;
- int colorDepth = getDepth(numColors);
int width = image.getWidth();
int height = image.getHeight();
@@ -538,7 +537,6 @@
// create the indexed BufferedImage:
BufferedImage dest = new BufferedImage(width, height, BufferedImage.TYPE_BYTE_INDEXED, icm);
- boolean firstOut = true;
if (dither)
new DiffusionFilterOp().filter(image, dest);
else {
Modified: helma/helma/trunk/src/helma/image/imageio/gif/GIFImageWriteParam.java
===================================================================
--- helma/helma/trunk/src/helma/image/imageio/gif/GIFImageWriteParam.java 2009-09-22 17:37:52 UTC (rev 9966)
+++ helma/helma/trunk/src/helma/image/imageio/gif/GIFImageWriteParam.java 2009-09-25 10:57:50 UTC (rev 9967)
@@ -25,9 +25,6 @@
public class GIFImageWriteParam extends ImageWriteParam {
- private boolean quantizeColors;
- private String quantizeMode;
-
public GIFImageWriteParam(Locale locale) {
super(locale);
canWriteProgressive = true;