public static void write(BufferedImage image, String format, OutputStream stream)
public static void write(BufferedImage image, String format, File f)
	public static void write(BufferedImage image, String format, OutputStream stream)		throws IOException	{		if (format.equalsIgnoreCase("ppm"))			PNMImage.write(image, stream);		else			ImageIO.write(image, format, stream);	}