public static Image crop(int height, int width, int x, int y, Image original) {
		Image image = new RgbImage(width, height);
		for (int i = 0; i < height; i++) {
			for (int j = 0; j < height; j++) {
				image.setPixel(i, j, RED, original.getPixel(i + x, j + y, RED));
				image.setPixel(i, j, GREEN,
						original.getPixel(i + x, j + y, GREEN));
				image.setPixel(i, j, BLUE,
						original.getPixel(i + x, j + y, BLUE));
			}
		}
		return image;
	}