src/Painter.php
/**
     * @param string $url URL of the image
     * @return bool
     */
@param string $url URL of the image
@return bool
@param string $url URL of the image @return bool
public static function checkMinImageSize(string $url, int $width = 100, int $height = 100) : bool
    {
        if (!filter_var($url, FILTER_VALIDATE_URL)) {
            return false;
        }
        $image = getimagesize($url);
        return ($image[0] > $width && $image[1] > $height);
    }
public static function checkMinImageSize ( string $ url , int $ width = 100 , int $ height = 100 ) : bool { if ( ! filter_var ( $ url , FILTER_VALIDATE_URL ) ) { return false ; } $ image = getimagesize ( $ url ) ; return ( $ image [ 0 ] > $ width && $ image [ 1 ] > $ height ) ; }
@param string $url URL of the image
 @return bool
@param string $url URL of the image @return bool