private void printImage(int width, int height, PrintWriter outP) {
		// out = "";
		if (width < height) {
			for (int i = 0; i < width; i++) {
				for (int j = 0; j < height; j++) {
					if (i == width - 1 && j == height - 1) {
						// out += toString(image[j][i]);
						outP.print(toString(image[j][i]));
					} else {
						// out += toString(image[j][i]) + "\n";
						outP.print(toString(image[j][i]) + "\n");
					}
				}
			}
		} else {
			for (int i = 0; i < height; i++) {
				for (int j = 0; j < width; j++) {
					if (i == height - 1 && j == width - 1) {
						// out += toString(image[i][j]);
						outP.print(toString(image[i][j]));
					} else {
						// out += toString(image[i][j]) + "\n";
						outP.print(toString(image[i][j]) + "\n");
					}
				}
			}
		}
	}