Cleaned up imports and removed unused variables.

This commit is contained in:
lehni 2009-09-25 10:57:50 +00:00
parent dc902a967e
commit 410226aa36
2 changed files with 0 additions and 5 deletions

View file

@ -521,7 +521,6 @@ public class ColorQuantizer {
// 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 @@ public class ColorQuantizer {
// 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 {

View file

@ -25,9 +25,6 @@ import javax.imageio.*;
public class GIFImageWriteParam extends ImageWriteParam {
private boolean quantizeColors;
private String quantizeMode;
public GIFImageWriteParam(Locale locale) {
super(locale);
canWriteProgressive = true;