de.jreality.util
Class TargaFile

java.lang.Object
  extended by de.jreality.util.TargaFile

public class TargaFile
extends Object

Handles dealing with targa image files. +--------------------------------------+ | File Header | +--------------------------------------+ | Bitmap Data | +--------------------------------------+


Constructor Summary
TargaFile()
           
 
Method Summary
 int getBPP()
           
static BufferedImage getBufferedImage(InputStream is)
           
 byte[] getData()
           
 int getDataLength()
           
 int getHeight()
           
 int getWidth()
           
 void load(InputStream dis)
           
 void loadCompressed()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargaFile

public TargaFile()
Method Detail

getData

public byte[] getData()

getWidth

public int getWidth()

getHeight

public int getHeight()

getBPP

public int getBPP()

getDataLength

public int getDataLength()

getBufferedImage

public static BufferedImage getBufferedImage(InputStream is)

load

public void load(InputStream dis)

loadCompressed

public void loadCompressed()