protected function isValidIco($data)
	{
		// Get header
		$header = unpack('vreserved/vtype/vimages', $data);

		return $header['reserved'] === self::ICO_RESERVED && $header['type'] === self::ICO_TYPE && $header['images'] > 0 && $header['images'] <= 255;
	}