code: public void setTileData(BufferedImage image, String imageFormat)
  			throws IOException {
  		byte[] bytes = ImageUtils.writeImageToBytes(image, imageFormat);
  		setTileData(bytes);
  	}
docs: Set the tile data from an image
  
  @param image
  image
  @param imageFormat
  image format
  @throws IOException
  upon failure