private static String stringOfPixImage(PixImage image) {
		StringBuffer sb = new StringBuffer(image.getWidth() * image.getHeight()
				* 3 * 2);
		for (int y = 0; y < image.getHeight(); y++) {
			for (int x = 0; x < image.getWidth(); x++) {
				sb.append(colorToString(image.getRed(x, y)));
				sb.append(colorToString(image.getGreen(x, y)));
				sb.append(colorToString(image.getBlue(x, y)));
			}
		}
		return sb.toString();
	}