image.setRGB(x, y, w, h, pixels, off, scansize);
if (w > 0 && h > 0) image.setRGB(x, y, w, h, pixels, off, scansize);
        public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize) {            // Cropping may be necessary: It's possible that the size of the             // specified destination image is not the same as the size the             // ImageFilter would produce!            if (x < width && y < height) {                if (x + w > width)                    w = width - x;                if (y + h > height)                    h = height - y;                image.setRGB(x, y, w, h, pixels, off, scansize);            }        }