PixelGrabber.getColorModel
Class Overview | Class Members |
This Package |
All Packages
public synchronized ColorModel getColorModel()
Returns
the ColorModel object used for storing the pixels
Description
Get the ColorModel for the pixels stored in the array. If the
PixelGrabber was constructed with an explicit pixel buffer then
this method will always return the default RGB ColorModel,
otherwise it may return null until the ColorModel used by the
ImageProducer is known.
Since the PixelGrabber may fall back on accumulating the data
in the default RGB ColorModel at any time if the source image
uses more than one ColorModel to deliver the data, the ColorModel
object returned by this method may change over time until the
image grab is complete.
See Also
getStatus, getRGBdefault