Class ImageUtil
java.lang.Object
com.fastasyncworldedit.core.util.image.ImageUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
fadeAlpha
(BufferedImage image) static int
getColor
(BufferedImage image) static BufferedImage
static URI
getImageURI
(String arg) static InputStream
getInputStream
(URI uri) static BufferedImage
getScaledInstance
(BufferedImage image, int targetWidth, int targetHeight, Object hint, boolean higherQuality) static BufferedImage
static BufferedImage
static void
scaleAlpha
(BufferedImage image, double alphaScale)
-
Constructor Details
-
ImageUtil
public ImageUtil()
-
-
Method Details
-
getScaledInstance
public static BufferedImage getScaledInstance(BufferedImage image, int targetWidth, int targetHeight, Object hint, boolean higherQuality) -
fadeAlpha
-
scaleAlpha
-
getColor
-
load
- Throws:
InputParseException
-
load
- Throws:
InputParseException
-
getInputStream
- Throws:
InputParseException
-
getImage
- Throws:
InputParseException
-
getImageURI
- Throws:
InputParseException
-