private static BufferedImage imageOfString(int width, int height,
			String imageStr) throws IOException {
		BufferedImage image = new BufferedImage(width, height,
				BufferedImage.TYPE_INT_RGB);
		InputStream strStream = new ByteArrayInputStream(imageStr.getBytes());
		byte[] bytes = new byte[2];
		for (int y = 0; y < image.getHeight(); y++) {
			for (int x = 0; x < image.getWidth(); x++) {
				image.setRGB(
						x,
						y,
						new Color(getNextColor(strStream, bytes), getNextColor(
								strStream, bytes), getNextColor(strStream,
								bytes)).getRGB());
			}
		}
		return image;
	}