GenericGIFBlock block = readGenericGIFBlock(is, -1);
byte bytes[] = block.appendSubBlocks();
InputStream bais = new ByteArrayInputStream(bytes);
int size = imageWidth * imageHeight;
MyLZWDecompressor myLzwDecompressor = new MyLZWDecompressor(
LZWMinimumCodeSize, BYTE_ORDER_LSB);
imageData = myLzwDecompressor.decompress(bais, size);
} else
{
int LZWMinimumCodeSize = is.read();
if (debug)
System.out.println("LZWMinimumCodeSize: " + LZWMinimumCodeSize);