public static function getImageInfo($image, array $config = null)
    {
        $finfo = finfo_open(FILEINFO_MIME_TYPE);
        $img = new static($image['value'], $finfo, $config);

        $curl = $img->getConnection();
        curl_exec($curl);
        curl_close($curl);

        $info = $img->getInfo();

        finfo_close($finfo);

        return $info;
    }
public static function getImageInfo($image, array $config = null)
    {
        $finfo = finfo_open(FILEINFO_MIME_TYPE);
        $img = new static($image['value'], $finfo, $config);

        $curl = $img->getConnection();
        curl_exec($curl);
        curl_close($curl);

        $info = $img->getInfo();

        finfo_close($finfo);

        return $info;
    }
public static function getImageInfo ( $ image , array $ config = null ) { $ finfo = finfo_open ( FILEINFO_MIME_TYPE ) ; $ img = new static ( $ image [ 'value' ] , $ finfo , $ config ) ; $ curl = $ img -> getConnection ( ) ; curl_exec ( $ curl ) ; curl_close ( $ curl ) ; $ info = $ img -> getInfo ( ) ; finfo_close ( $ finfo ) ; return $ info ; }
Get the info of only one image

@param string     $image
@param null|array $config

@return array|null
Get the info of only one image