public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) {
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int size = w*h;
	public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) {		//int size = w * h;		int outOffset = 0;		int[] pixel = null;		if (iArray == null)			iArray = new int[w * h * numBands];		for (int yy = y; yy < (y + h); yy++) {			for (int xx = x; xx < (x + w); xx++) {				getPixel(xx, yy, pixel, data);				System.arraycopy(pixel, 0, iArray, outOffset, numBands);				outOffset += numBands;			}		}		return iArray;	}