Class TGAExtensions

java.lang.Object
com.twelvemonkeys.imageio.plugins.tga.TGAExtensions

final class TGAExtensions extends Object
TGAExtensions.
Version:
$Id: TGAExtensions.java,v 1.0 27/07/15 harald.kuhr Exp$
  • 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

      static TGAExtensions read(ImageInputStream stream, int extSize) throws IOException
      Throws:
      IOException
    • readRational

      private static double readRational(ImageInputStream stream) throws IOException
      Throws:
      IOException
    • readDate

      private static Calendar readDate(ImageInputStream stream) throws IOException
      Throws:
      IOException
    • hasAlpha

      public boolean hasAlpha()
    • isAlphaPremultiplied

      public boolean isAlphaPremultiplied()
    • getThumbnailOffset

      public long getThumbnailOffset()
    • getAuthorName

      public String getAuthorName()
    • getAuthorComments

      public String getAuthorComments()
    • getCreationDate

      public Calendar getCreationDate()
    • getSoftware

      public String getSoftware()
    • getSoftwareVersion

      public String getSoftwareVersion()
    • getPixelAspectRatio

      public double getPixelAspectRatio()
    • getBackgroundColor

      public int getBackgroundColor()