public static byte[] ImageSubsetUnit(byte[] pixels, int w, int h, int squareSize, int X1, int Y1, int X2, int Y2) { return ImageSubset(pixels, w, h, X1 * squareSize, Y1 * squareSize, X2 * squareSize, Y2 * squareSize); }