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 int
bytesPerPixel
private int
channels
private int
colorMode
private int
compression
private int
dimensions
private int
height
private int
maxValue
private int
minValue
private java.lang.String
name
private int
width
-
Constructor Summary
Constructors Constructor Description SGIHeader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBytesPerPixel()
int
getChannels()
int
getColorMode()
int
getCompression()
int
getHeight()
int
getMaxValue()
int
getMinValue()
java.lang.String
getName()
int
getWidth()
static SGIHeader
read(javax.imageio.stream.ImageInputStream imageInput)
private static java.lang.String
toAsciiString(byte[] bytes)
java.lang.String
toString()
-
-
-
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:
toString
in 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)
-
-