Class Images


  • public class Images
    extends java.lang.Object
    Utility class for manipulating images.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void saveImageIcon​(@NotNull java.nio.file.Path outputFile, @NotNull javax.swing.Icon imageIcon)
      Saves an ImageIcon to a file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • saveImageIcon

        public static void saveImageIcon​(@NotNull
                                         @NotNull java.nio.file.Path outputFile,
                                         @NotNull
                                         @NotNull javax.swing.Icon imageIcon)
        Saves an ImageIcon to a file. I/O errors are reported to System.err but otherwise ignored.
        Parameters:
        outputFile - the file to save to
        imageIcon - the image to save