if ((flags & FLAG_TRANSPARENT) != 0) {
BufferedImageOp op = new TransparentColorFilter(Color.BLACK);
gumpImage = op.filter((BufferedImage) getImage(), null);
}
if ((flags & FLAG_COLORED) != 0) {
BufferedImageOp op = new HueColorFilter(hueEntry);
gumpImage = op.filter((BufferedImage) getImage(), null);
}
}