src/mako/pixl/processors/GD.php
protected function getImageInfo($file)
	{
		$imageInfo = getimagesize($file);

		if($imageInfo === false)
		{
			throw new RuntimeException(vsprintf('Unable to process the image [ %s ].', [$file]));
		}

		return $imageInfo;
	}
protected function getImageInfo($file)
	{
		$imageInfo = getimagesize($file);

		if($imageInfo === false)
		{
			throw new RuntimeException(vsprintf('Unable to process the image [ %s ].', [$file]));
		}

		return $imageInfo;
	}
protected function getImageInfo ( $ file ) { $ imageInfo = getimagesize ( $ file ) ; if ( $ imageInfo === false ) { throw new RuntimeException ( vsprintf ( 'Unable to process the image [ %s ].' , [ $ file ] ) ) ; } return $ imageInfo ; }
Collects information about the image.

@param  string            $file Path to image file
@throws \RuntimeException
@return resource
Collects information about the image .