RGBImageFilter.setColorModel

RGBImageFilter.setColorModel

Class Overview | Class Members | This Package | All Packages

Syntax
public void setColorModel( ColorModel model )
Description
If the ColorModel is an IndexColorModel, and the subclass has set the canFilterIndexColorModel flag to true, we substitute a filtered version of the color model here and wherever that original ColorModel object appears in the setPixels methods. Otherwise overrides the default ColorModel used by the ImageProducer and specifies the default RGB ColorModel instead.

Overrides
setColorModel in class ImageFilter
See Also
ImageConsumer, getRGBdefault