code: public static void write(Image image, String format, String dest, boolean writeAlpha) throws SlickException {
  		try {
  			write(image, format, new FileOutputStream(dest), writeAlpha);
  		} catch (IOException e) {
  			throw new SlickException("Unable to write to the destination: "+dest, e);
  		}
  	}
docs: Write an image out to a file on the local file system.
  
  @param image The image to be written out
  @param format The format to write the image out in
  @param dest The destination path to write to
  @param writeAlpha True if we should write the alpha channel out (some formats don't support this, like JPG)
  @throws SlickException Indicates a failure to write the image in the determined format