public class Images extends Object
Modifier and Type | Class | 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 | Description |
---|---|---|
static Image |
createImage(URL resource) |
|
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
|
static BufferedImage[] |
split(Image image,
int count,
boolean isHorizontal) |
Splits an image into count subimages.
|
static BufferedImage |
toBufferedImage(Image image) |
public static BufferedImage toBufferedImage(Image image)
public static boolean hasAlpha(Image image)
public static BufferedImage[] split(Image image, int count, boolean isHorizontal)