Class Images
- java.lang.Object
-
- org.pushingpixels.substance.internal.contrib.randelshofer.quaqua.util.Images
-
public class Images extends Object
Image processing methods.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImages.GraphiteFilterBased on a code example from: http://tams-www.informatik.uni-hamburg.de/applets/hades/webdemos/00-intro/02-imageprocessing/saturation.html
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImagecreateImage(URL resource)static booleanhasAlpha(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.htmlstatic BufferedImage[]split(Image image, int count, boolean isHorizontal)Splits an image into count subimages.static BufferedImagetoBufferedImage(Image image)
-
-
-
Method Detail
-
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.
-
-