private void skipImage() throws IOException {
		inputStream.skipBytes(8); 			// image descriptor block
		int flags = inputStream.read();  	// color table info
		boolean localColorTableFlag = (flags & 0x80) != 0;
		int localColorTableSize = 2 << (flags & 7);

		if (localColorTableFlag) {
			inputStream.skipBytes(3 * localColorTableSize);
		}

		inputStream.read();		// Code byte for LZW decoder

		skipDataBlocks();

	}
Class for determining the size of a GIF image. It loads just enough of the GIF information to 
follow the data block links and read the bytes until the terminator is hit.  The amount of
bytes read indicate the number of bytes the GIF data type is consume.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/GIFResource.java