- <init>
Creates a ColorProcessor from an AWT Image or BufferedImage.
- getPixels
Returns a reference to the int array containing this image's pixel data.
- getWidth
- getHeight
- getRGB
Returns the red, green and blue planes as 3 byte arrays.
- setRGB
Sets the current pixels from 3 byte arrays (reg, green, blue).
- get
- getPixel
Returns the 3 samples for the pixel at (x,y) in an array of int. Returns zeros
if the the coordinate
- putPixel
Sets a pixel in the image using a 3 element (R, G and B) int array of samples.
- set
- setColor
Sets the foreground color.
- createImage