de.jreality.util
Class TargaFile
java.lang.Object
de.jreality.util.TargaFile
public class TargaFile
- extends java.lang.Object
Handles dealing with targa image files.
+--------------------------------------+
| File Header |
+--------------------------------------+
| Bitmap Data |
+--------------------------------------+
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TargaFile
public TargaFile()
getData
public byte[] getData()
getWidth
public int getWidth()
getHeight
public int getHeight()
getBPP
public int getBPP()
getDataLength
public int getDataLength()
getBufferedImage
public static java.awt.image.BufferedImage getBufferedImage(java.io.InputStream is)
load
public void load(java.io.InputStream dis)
loadCompressed
public void loadCompressed()