}
	byte[] readGraphicsControlExtension() {		try {			// Read size of block = 0x04.			inputStream.read();			// Read the control block.			byte[] controlBlock = new byte[4];			inputStream.read(controlBlock);			byte bitField = controlBlock[0];			// Store the user input field.			userInput = (bitField & 0x02) != 0;			// Store the disposal method.			disposalMethod = (bitField >> 2) & 0x07;			// Store the delay time.			delayTime = (controlBlock[1] & 0xFF) | ((controlBlock[2] & 0xFF) << 8);			// Store the transparent color.			if ((bitField & 0x01) != 0)				transparentPixel = controlBlock[3] & 0xFF;			else				transparentPixel = -1;			// Read block terminator.			inputStream.read();			return controlBlock;		} catch (Exception e) {			SWT.error(SWT.ERROR_IO, e);			return null;		}	}