protected function extractMarkerLength($i)
	{
		// Extract length only
		list(, $unpacked) = unpack("H*", substr($this->data, $i, self::LONG_SIZE));

		// Get width and height from unpacked size info
		$markerLength = hexdec(substr($unpacked, 0, 4));

		return $markerLength;
	}