Package tgaimageplugin
Class TGAHeader
- java.lang.Object
-
- tgaimageplugin.TGAHeader
-
public class TGAHeader extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TGAHeader.ColorMapType
static class
TGAHeader.FirstPixelDestination
static class
TGAHeader.ImageType
-
Constructor Summary
Constructors Modifier Constructor Description protected
TGAHeader(javax.imageio.stream.ImageInputStream in)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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 classjava.lang.Object
-
-