Method Summary |
|
void | copyRow(byte[] buf, int copies) Copy duplicate rows of pixel values to the image. |
void | decode() Decode the input. |
public void | decode(LEDataInputStream inputStream, ImageLoader loader, ImageData image, boolean interlaced, int depth) Decode the LZW-encoded bytes in the given byte stream
into the given DeviceIndependentImage. |
void | encode() Encode the image. |
public void | encode(LEDataOutputStream byteStream, ImageData image) Encode the bytes into the given byte stream
from the given DeviceIndependentImage. |
int | encodeLoop() Encoding loop broken out to allow early return. |
void | initializeForDecoding() Initialize the receiver for decoding the given
byte array. |
void | initializeForEncoding() Initialize the receiver for encoding the given
byte array. |
int | nextCode() Answer the next code from the input byte array. |
int | nextPixel() |
void | nextPixels(byte[] buf, int lineWidth) Copy a row of pixel values from the image. |
void | nextPutCode(int aCode) Output aCode to the output stream. |
void | nextPutPixels(byte[] buf) Copy a row of pixel values to the image. |
int | readBlock() Read a block from the byte stream. |
void | writeBlock() Write a block to the byte stream. |