Modifier and Type | Method and Description |
---|---|
static BufferedImage |
ConvertToBufferedImage(Image image)
convert an image of type java.awt.Image to a BufferedIamge.
|
void |
dispose() |
static boolean |
hasAlpha(Image image)
This method returns true if the specified image has transparent pixels
|
void |
run() |
static BufferedImage |
scaleImage(BufferedImage theImage,
float theWidth,
float theHeight)
scale a bufferedImage.
|
void |
start() |
void |
stop() |
public void start()
public void stop()
public void dispose()
public static boolean hasAlpha(Image image)
image
- Imagepublic static BufferedImage scaleImage(BufferedImage theImage, float theWidth, float theHeight)
theImage
- BufferedImagetheWidth
- floattheHeight
- floatpublic static BufferedImage ConvertToBufferedImage(Image image)
image
- ImageProcessing Library Drop by [Ramin Soleymani](http://diskordier.net), original sDrop by [Andreas Schlegel](http://www.sojamo.com). (c) 2015