Class SGIHeader


  • final class SGIHeader
    extends java.lang.Object
    • Field Detail

      • compression

        private int compression
      • bytesPerPixel

        private int bytesPerPixel
      • dimensions

        private int dimensions
      • width

        private int width
      • height

        private int height
      • channels

        private int channels
      • minValue

        private int minValue
      • maxValue

        private int maxValue
      • name

        private java.lang.String name
      • colorMode

        private int colorMode
    • Constructor Detail

      • SGIHeader

        SGIHeader()
    • Method Detail

      • getCompression

        public int getCompression()
      • getBytesPerPixel

        public int getBytesPerPixel()
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • getChannels

        public int getChannels()
      • getMinValue

        public int getMinValue()
      • getMaxValue

        public int getMaxValue()
      • getName

        public java.lang.String getName()
      • getColorMode

        public int getColorMode()
      • toString

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

        public static SGIHeader read​(javax.imageio.stream.ImageInputStream imageInput)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • toAsciiString

        private static java.lang.String toAsciiString​(byte[] bytes)