daoc.editor.image
Class ImageLoader
java.lang.Object
daoc.editor.image.ImageLoader
- public class ImageLoader
- extends java.lang.Object
Loads images based on type.
|
Method Summary |
static int |
getType(java.lang.String filename)
|
static boolean |
isPowerOfTwo(int x)
|
static java.awt.image.BufferedImage |
loadImage(java.lang.String filename,
boolean log)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNKNOWN
public static final int UNKNOWN
- See Also:
- Constant Field Values
TGA
public static final int TGA
- See Also:
- Constant Field Values
BMP
public static final int BMP
- See Also:
- Constant Field Values
DDS
public static final int DDS
- See Also:
- Constant Field Values
ImageLoader
public ImageLoader()
loadImage
public static final java.awt.image.BufferedImage loadImage(java.lang.String filename,
boolean log)
getType
public static final int getType(java.lang.String filename)
isPowerOfTwo
public static final boolean isPowerOfTwo(int x)