src/Image.php
public function getInfo()
    {
        $this->info = [
            'width' => $this->getWidth(),
            'height' => $this->getHeight(),
            'file_size' => $this->getFileSize(),
        ];

        return $this->info;
    }
public function getInfo()
    {
        $this->info = [
            'width' => $this->getWidth(),
            'height' => $this->getHeight(),
            'file_size' => $this->getFileSize(),
        ];

        return $this->info;
    }
public function getInfo ( ) { $ this -> info = [ 'width' => $ this -> getWidth ( ) , 'height' => $ this -> getHeight ( ) , 'file_size' => $ this -> getFileSize ( ) , ] ; return $ this -> info ; }
Get details about an image.

@return bool|array false, if the file could not be found or is not an image. Otherwise, a keyed array containing information about the image:
- "width": Width, in pixels.
- "height": Height, in pixels.
- "file_size": File size in bytes.
Get details about an image .