lib/FastImageSize.php
protected function loadExtension($extension)
	{
		if (isset($this->classMap[$extension]))
		{
			return;
		}
		foreach ($this->supportedTypes as $imageType => $extensions)
		{
			if (in_array($extension, $extensions, true))
			{
				$this->loadType($imageType);
			}
		}
	}
protected function loadExtension($extension)
	{
		if (isset($this->classMap[$extension]))
		{
			return;
		}
		foreach ($this->supportedTypes as $imageType => $extensions)
		{
			if (in_array($extension, $extensions, true))
			{
				$this->loadType($imageType);
			}
		}
	}
protected function loadExtension ( $ extension ) { if ( isset ( $ this -> classMap [ $ extension ] ) ) { return ; } foreach ( $ this -> supportedTypes as $ imageType => $ extensions ) { if ( in_array ( $ extension , $ extensions , true ) ) { $ this -> loadType ( $ imageType ) ; } } }
Load an image type by extension

@param string $extension Extension of image
Load an image type by extension