Writes an image using an arbitrary ImageWriter
that supports the given format to a File
. If
there is already a File
present, its contents are
discarded.
im | a RenderedImage to be written. | |
formatName | a String containing the informal
name of the format. | |
output | a File to be written to. |
false
if no appropriate writer is found.
IllegalArgumentException | if any parameter is
null . | |
IOException | if an error occurs during writing. |
Diagram: ImageIO