java.lang.Object
org.pushingpixels.substance.internal.contrib.randelshofer.quaqua.util.Images

public class Images extends Object
Image processing methods.
  • Method Details

    • createImage

      public static Image createImage(URL resource)
    • toBufferedImage

      public static BufferedImage toBufferedImage(Image image)
    • hasAlpha

      public static boolean hasAlpha(Image image)
      This method returns true if the specified image has transparent pixels Code taken from the Java Developers Almanac 1.4 http://javaalmanac.com/egs/java.awt.image/HasAlpha.html
    • split

      public static BufferedImage[] split(Image image, int count, boolean isHorizontal)
      Splits an image into count subimages.