public function getInfo($image)
    {
        if (DriverInterface::IMAGE_STORAGE_STRING == $this->getImageStorage($image)) {
            $image = 'data://application/octet-stream;base64,'  . base64_encode($image);
        }
        return getimagesize($image);
    }
public function getInfo($image)
    {
        if (DriverInterface::IMAGE_STORAGE_STRING == $this->getImageStorage($image)) {
            $image = 'data://application/octet-stream;base64,'  . base64_encode($image);
        }
        return getimagesize($image);
    }
public function getInfo ( $ image ) { if ( DriverInterface :: IMAGE_STORAGE_STRING == $ this -> getImageStorage ( $ image ) ) { $ image = 'data://application/octet-stream;base64,' . base64_encode ( $ image ) ; } return getimagesize ( $ image ) ; }
Get info of image

@param string $image
@return array
Get info of image