contrib.ch.randelshofer.quaqua.util
public class Images extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Images.GraphiteFilter
Based on a code example from:
http://tams-www.informatik.uni-hamburg.de/applets/hades/webdemos/00-intro/02-imageprocessing/saturation.html
|
Modifier and Type | Method and Description |
---|---|
static java.awt.Image |
createImage(java.net.URL resource) |
static boolean |
hasAlpha(java.awt.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
|
static java.awt.image.BufferedImage[] |
split(java.awt.Image image,
int count,
boolean isHorizontal)
Splits an image into count subimages.
|
static java.awt.image.BufferedImage |
toBufferedImage(java.awt.Image image) |
public static java.awt.Image createImage(java.net.URL resource)
public static java.awt.image.BufferedImage toBufferedImage(java.awt.Image image)
public static boolean hasAlpha(java.awt.Image image)
public static java.awt.image.BufferedImage[] split(java.awt.Image image, int count, boolean isHorizontal)