| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv static final byte[] | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final byte[] | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv String | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static PaletteData | grayRamp(int numGrays)
Answer a palette containing numGrays shades of gray, ranging from black to white. |
| pack-priv boolean | isFileFormat(LEDataInputStream stream)
Implements abstract org. |
| pack-priv ImageData[] | loadFromByteStream()
Implements abstract org. |
| pack-priv byte[] | readApplicationExtension()
We have just read the Application extension identifier from the input stream. |
| pack-priv byte[] | |
| pack-priv byte[] | |
| pack-priv byte[] | readGraphicsControlExtension()
We have just read the GraphicsControl extension identifier from the input stream. |
| pack-priv int | |
| pack-priv ImageData | readImageBlock(PaletteData defaultPalette)
Return a DeviceIndependentImage representing the image block at the current position in the input stream. |
| pack-priv PaletteData | |
| pack-priv byte[] | |
| pack-priv void | unloadIntoByteStream(ImageLoader loader)
Implements abstract org. |
| pack-priv void | writeGraphicsControlBlock(ImageData image)
Write out a GraphicsControlBlock to describe the specified device independent image. |
| pack-priv void |
| backgroundPixel | back to summary |
|---|---|
| pack-priv int backgroundPixel | |
| bitsPerPixel | back to summary |
|---|---|
| pack-priv int bitsPerPixel | |
| defaultDepth | back to summary |
|---|---|
| pack-priv int defaultDepth | |
| delayTime | back to summary |
|---|---|
| pack-priv int delayTime | |
| disposalMethod | back to summary |
|---|---|
| pack-priv int disposalMethod | |
| GIF89a | back to summary |
|---|---|
| pack-priv static final byte[] GIF89a | |
| GIF_APPLICATION_EXTENSION_BLOCK_ID | back to summary |
|---|---|
| pack-priv static final int GIF_APPLICATION_EXTENSION_BLOCK_ID | |
| GIF_COMMENT_BLOCK_ID | back to summary |
|---|---|
| pack-priv static final int GIF_COMMENT_BLOCK_ID | |
| GIF_EXTENSION_BLOCK_ID | back to summary |
|---|---|
| pack-priv static final int GIF_EXTENSION_BLOCK_ID | |
| GIF_GRAPHICS_CONTROL_BLOCK_ID | back to summary |
|---|---|
| pack-priv static final int GIF_GRAPHICS_CONTROL_BLOCK_ID | |
| GIF_IMAGE_BLOCK_ID | back to summary |
|---|---|
| pack-priv static final int GIF_IMAGE_BLOCK_ID | |
| GIF_PLAIN_TEXT_BLOCK_ID | back to summary |
|---|---|
| pack-priv static final int GIF_PLAIN_TEXT_BLOCK_ID | |
| GIF_TRAILER_ID | back to summary |
|---|---|
| pack-priv static final int GIF_TRAILER_ID | |
| NETSCAPE2_0 | back to summary |
|---|---|
| pack-priv static final byte[] NETSCAPE2_0 | |
| repeatCount | back to summary |
|---|---|
| pack-priv int repeatCount | |
| screenHeight | back to summary |
|---|---|
| pack-priv int screenHeight | |
| screenWidth | back to summary |
|---|---|
| pack-priv int screenWidth | |
| signature | back to summary |
|---|---|
| pack-priv String signature | |
| transparentPixel | back to summary |
|---|---|
| pack-priv int transparentPixel | |
| GIFFileFormat | back to summary |
|---|---|
| public GIFFileFormat() | |
| grayRamp | back to summary |
|---|---|
| pack-priv static PaletteData grayRamp(int numGrays) Answer a palette containing numGrays shades of gray, ranging from black to white. | |
| isFileFormat | back to summary |
|---|---|
| pack-priv boolean isFileFormat(LEDataInputStream stream) Implements abstract org. Doc from org. Return whether or not the specified input stream represents a supported file format.
| |
| loadFromByteStream | back to summary |
|---|---|
| pack-priv ImageData[] loadFromByteStream() Implements abstract org. Load the GIF image(s) stored in the input stream. Return an array of ImageData representing the image(s).
| |
| readApplicationExtension | back to summary |
|---|---|
| pack-priv byte[] readApplicationExtension() We have just read the Application extension identifier from the input stream. Read in the rest of the extension, look for and store 'number of repeats', and return the data. | |
| readCommentExtension | back to summary |
|---|---|
| pack-priv byte[] readCommentExtension() We have just read the Comment extension identifier from the input stream. Read in the rest of the comment and return it. GIF comment blocks are variable size. | |
| readExtension | back to summary |
|---|---|
| pack-priv byte[] readExtension() Read a control extension. Return the extension block data. | |
| readGraphicsControlExtension | back to summary |
|---|---|
| pack-priv byte[] readGraphicsControlExtension() We have just read the GraphicsControl extension identifier from the input stream. Read in the control information, store it, and return it. | |
| readID | back to summary |
|---|---|
| pack-priv int readID() Read and return the next block or extension identifier from the file. | |
| readImageBlock | back to summary |
|---|---|
| pack-priv ImageData readImageBlock(PaletteData defaultPalette) Return a DeviceIndependentImage representing the image block at the current position in the input stream. Throw an error if an error occurs. | |
| readPalette | back to summary |
|---|---|
| pack-priv PaletteData readPalette(int numColors) Read a palette from the input stream. | |
| readPlainTextExtension | back to summary |
|---|---|
| pack-priv byte[] readPlainTextExtension() We have just read the PlainText extension identifier from the input stream. Read in the plain text info and text, and return the text. GIF plain text blocks are variable size. | |
| unloadIntoByteStream | back to summary |
|---|---|
| pack-priv void unloadIntoByteStream(ImageLoader loader) Implements abstract org.
| |
| writeGraphicsControlBlock | back to summary |
|---|---|
| pack-priv void writeGraphicsControlBlock(ImageData image) Write out a GraphicsControlBlock to describe the specified device independent image. | |
| writePalette | back to summary |
|---|---|
| pack-priv void writePalette(PaletteData palette, int depth) Write the specified palette to the output stream. | |