tgaimageplugin
Class TGAHeader

java.lang.Object
  extended by tgaimageplugin.TGAHeader

public class TGAHeader
extends java.lang.Object


Nested Class Summary
static class TGAHeader.ColorMapType
           
static class TGAHeader.FirstPixelDestination
           
static class TGAHeader.ImageType
           
 
Constructor Summary
protected TGAHeader(javax.imageio.stream.ImageInputStream in)
           
 
Method Summary
static TGAHeader create(javax.imageio.stream.ImageInputStream in)
           
 int getColorMapEntrySize()
           
 int getColorMapLength()
           
 TGAHeader.ColorMapType getColorMapType()
           
 int getFirstColorMapEntry()
           
 TGAHeader.FirstPixelDestination getFirstPixelDestination()
           
 int getIdLength()
           
 int getImageDescriptor()
           
 int getImageHeight()
           
 java.lang.String getImageID()
           
 TGAHeader.ImageType getImageType()
           
 int getImageWidth()
           
 int getImageXOrigin()
           
 int getImageYOrigin()
           
 int getPixelDepth()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TGAHeader

protected TGAHeader(javax.imageio.stream.ImageInputStream in)
             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

create

public static TGAHeader create(javax.imageio.stream.ImageInputStream in)
                        throws java.io.IOException
Throws:
java.io.IOException

getFirstPixelDestination

public TGAHeader.FirstPixelDestination getFirstPixelDestination()

getImageID

public java.lang.String getImageID()

getIdLength

public int getIdLength()

getColorMapType

public TGAHeader.ColorMapType getColorMapType()

getImageType

public TGAHeader.ImageType getImageType()

getFirstColorMapEntry

public int getFirstColorMapEntry()

getColorMapLength

public int getColorMapLength()

getColorMapEntrySize

public int getColorMapEntrySize()

getImageXOrigin

public int getImageXOrigin()

getImageYOrigin

public int getImageYOrigin()

getImageWidth

public int getImageWidth()

getImageHeight

public int getImageHeight()

getPixelDepth

public int getPixelDepth()

getImageDescriptor

public int getImageDescriptor()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object