class ImageExtractor.GifFileReader.LogicalScreenDescriptorReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int |
BLOCK_SIZE
The section size in bytes.
|
private static int |
PACKED_BYTE_OFFSET
The relative offset of the packed byte.
|
private int |
packedByte
The value of the packed byte.
|
Constructor and Description |
---|
LogicalScreenDescriptorReader() |
Modifier and Type | Method and Description |
---|---|
(package private) int |
getBitsPerPixel()
Retrieves information about the bits per a pixel.
|
(package private) boolean |
hasGlobalColorTable()
Retrieves information about the next section.
|
(package private) boolean |
readLogicalScreenDescriptor(java.io.RandomAccessFile raf)
Reads this section and extracts its packed byte.
|
private static final int BLOCK_SIZE
private static final int PACKED_BYTE_OFFSET
private int packedByte
boolean readLogicalScreenDescriptor(java.io.RandomAccessFile raf) throws java.io.IOException
raf
- The data represented by the random access filejava.io.IOException
- If IO error occurs while reading data and moving the current file pointer.boolean hasGlobalColorTable()
int getBitsPerPixel()