Class TGAExtensions
java.lang.Object
com.twelvemonkeys.imageio.plugins.tga.TGAExtensions
TGAExtensions.
- Version:
- $Id: TGAExtensions.java,v 1.0 27/07/15 harald.kuhr Exp$
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) String
(package private) String
(package private) int
(package private) long
(package private) Calendar
(package private) double
(package private) String
(package private) double
(package private) long
(package private) long
(package private) String
(package private) String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
double
long
boolean
hasAlpha()
boolean
(package private) static TGAExtensions
read
(ImageInputStream stream, int extSize) private static Calendar
readDate
(ImageInputStream stream) private static double
readRational
(ImageInputStream stream)
-
Field Details
-
authorName
String authorName -
authorComments
String authorComments -
creationDate
Calendar creationDate -
jobId
String jobId -
softwareId
String softwareId -
softwareVersion
String softwareVersion -
backgroundColor
int backgroundColor -
pixelAspectRatio
double pixelAspectRatio -
gamma
double gamma -
colorCorrectionOffset
long colorCorrectionOffset -
postageStampOffset
long postageStampOffset -
scanLineOffset
long scanLineOffset -
attributeType
int attributeType
-
-
Constructor Details
-
TGAExtensions
TGAExtensions()
-
-
Method Details
-
read
- Throws:
IOException
-
readRational
- Throws:
IOException
-
readDate
- Throws:
IOException
-
hasAlpha
public boolean hasAlpha() -
isAlphaPremultiplied
public boolean isAlphaPremultiplied() -
getThumbnailOffset
public long getThumbnailOffset() -
getAuthorName
-
getAuthorComments
-
getCreationDate
-
getSoftware
-
getSoftwareVersion
-
getPixelAspectRatio
public double getPixelAspectRatio() -
getBackgroundColor
public int getBackgroundColor()
-