Class SGIHeader
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.sgi.SGIHeader
-
final class SGIHeader extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private intbytesPerPixelprivate intchannelsprivate intcolorModeprivate intcompressionprivate intdimensionsprivate intheightprivate intmaxValueprivate intminValueprivate java.lang.Stringnameprivate intwidth
-
Constructor Summary
Constructors Constructor Description SGIHeader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBytesPerPixel()intgetChannels()intgetColorMode()intgetCompression()intgetHeight()intgetMaxValue()intgetMinValue()java.lang.StringgetName()intgetWidth()static SGIHeaderread(javax.imageio.stream.ImageInputStream imageInput)private static java.lang.StringtoAsciiString(byte[] bytes)java.lang.StringtoString()
-
-
-
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
-
-
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:
toStringin classjava.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)
-
-