Creates a bitmap file. We paint a few things on a bitmap and then save the bitmap using
an ImageWriter.
Parameters: outputFile - the target file Parameters: format - the target format (a MIME type, ex. "image/png") throws: IOException - In case of an I/O error