Class TGAExtensions


  • final class TGAExtensions
    extends java.lang.Object
    TGAExtensions.
    Version:
    $Id: TGAExtensions.java,v 1.0 27/07/15 harald.kuhr Exp$
    • Field Detail

      • authorName

        java.lang.String authorName
      • authorComments

        java.lang.String authorComments
      • creationDate

        java.util.Calendar creationDate
      • jobId

        java.lang.String jobId
      • softwareId

        java.lang.String softwareId
      • softwareVersion

        java.lang.String softwareVersion
      • backgroundColor

        int backgroundColor
      • pixelAspectRatio

        double pixelAspectRatio
      • gamma

        double gamma
      • colorCorrectionOffset

        long colorCorrectionOffset
      • postageStampOffset

        long postageStampOffset
      • scanLineOffset

        long scanLineOffset
      • attributeType

        int attributeType
    • Constructor Detail

      • TGAExtensions

        TGAExtensions()
    • Method Detail

      • read

        static TGAExtensions read​(javax.imageio.stream.ImageInputStream stream,
                                  int extSize)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • readRational

        private static double readRational​(javax.imageio.stream.ImageInputStream stream)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • readDate

        private static java.util.Calendar readDate​(javax.imageio.stream.ImageInputStream stream)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • hasAlpha

        public boolean hasAlpha()
      • isAlphaPremultiplied

        public boolean isAlphaPremultiplied()
      • getThumbnailOffset

        public long getThumbnailOffset()
      • getAuthorName

        public java.lang.String getAuthorName()
      • getAuthorComments

        public java.lang.String getAuthorComments()
      • getCreationDate

        public java.util.Calendar getCreationDate()
      • getSoftware

        public java.lang.String getSoftware()
      • getSoftwareVersion

        public java.lang.String getSoftwareVersion()
      • getPixelAspectRatio

        public double getPixelAspectRatio()
      • getBackgroundColor

        public int getBackgroundColor()