Cleaned up imports and removed unused variables.
This commit is contained in:
parent
dc902a967e
commit
410226aa36
2 changed files with 0 additions and 5 deletions
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue