public class Images
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
saveImageIcon(@NotNull java.nio.file.Path outputFile,
@NotNull javax.swing.Icon imageIcon)
Saves an
ImageIcon to a file. |
public static void saveImageIcon(@NotNull @NotNull java.nio.file.Path outputFile, @NotNull @NotNull javax.swing.Icon imageIcon)
ImageIcon
to a file. I/O errors are reported to
System.err
but otherwise ignored.outputFile
- the file to save toimageIcon
- the image to save