RGBImageFilter.setPixels
Class Overview | Class Members | 
  This Package | 
All Packages
 public void setPixels( int x,
                       int y,
                       int w,
                       int h,
                       ColorModel model,
                       byte pixels[],
                       int off,
                       int scansize )
Description
 If the ColorModel object is the same one that has already
 been converted, then simply passes the pixels through with the
 converted ColorModel. Otherwise converts the buffer of byte
 pixels to the default RGB ColorModel and passes the converted
 buffer to the filterRGBPixels method to be converted one by one.
  
Overrides
     setPixels in class ImageFilter
    
See Also
     getRGBdefault, filterRGBPixels
  
 public void setPixels( int x,
                       int y,
                       int w,
                       int h,
                       ColorModel model,
                       int pixels[],
                       int off,
                       int scansize )
Description
 If the ColorModel object is the same one that has already
 been converted, then simply passes the pixels through with the
 converted ColorModel, otherwise converts the buffer of integer
 pixels to the default RGB ColorModel and passes the converted
 buffer to the filterRGBPixels method to be converted one by one.
 Converts a buffer of integer pixels to the default RGB ColorModel
 and passes the converted buffer to the filterRGBPixels method.
  
Overrides
     setPixels in class ImageFilter
    
See Also
     getRGBdefault, filterRGBPixels