public function getVersion(): string
	{
		$result = $this->process('-version');

		// The first line has the version in it...
		preg_match('/(ImageMagick\s[\S]+)/', $result[0], $matches);

		return str_replace('ImageMagick ', '', $matches[0]);
	}
public function getVersion(): string
	{
		$result = $this->process('-version');

		// The first line has the version in it...
		preg_match('/(ImageMagick\s[\S]+)/', $result[0], $matches);

		return str_replace('ImageMagick ', '', $matches[0]);
	}
public function getVersion ( ) : string { $ result = $ this -> process ( '-version' ) ; // The first line has the version in it... preg_match ( '/(ImageMagick\s[\S]+)/' , $ result [ 0 ] , $ matches ) ; return str_replace ( 'ImageMagick ' , '' , $ matches [ 0 ] ) ; }
Get GD version

@return string
Get GD version