code: public void setData(BufferedImage image, String imageFormat)
  			throws IOException {
  		setData(image, imageFormat, null);
  	}
docs: Set the data from an image
  
  @param image
  image
  @param imageFormat
  image format
  @throws IOException
  upon failure
  @since 3.2.0