public class ImageHelper
extends java.lang.Object
Constructor and Description |
---|
ImageHelper() |
Modifier and Type | Method and Description |
---|---|
static java.nio.ByteBuffer |
getBuffer(java.awt.image.BufferedImage img) |
static java.awt.image.BufferedImage |
getImage(net.minecraft.util.ResourceLocation resLoc) |
static java.awt.image.BufferedImage |
getImage(java.lang.String fileLoc) |
static java.awt.image.BufferedImage |
rotateImg(java.awt.image.BufferedImage img,
double rotation) |
public static java.awt.image.BufferedImage getImage(java.lang.String fileLoc) throws java.io.IOException
java.io.IOException
public static java.awt.image.BufferedImage getImage(net.minecraft.util.ResourceLocation resLoc) throws java.io.IOException
java.io.IOException
public static java.awt.image.BufferedImage rotateImg(java.awt.image.BufferedImage img, double rotation)
public static java.nio.ByteBuffer getBuffer(java.awt.image.BufferedImage img)