SimpleImage::adaptive_resize PHP 메소드

adaptive_resize() 공개 메소드

This function has been deprecated and will be removed in an upcoming release. Please update your code to use the thumbnail() method instead. The arguments for both methods are exactly the same.
public adaptive_resize ( integer $width, integer | null $height = null ) : SimpleImage
$width integer
$height integer | null If omitted - assumed equal to $width
리턴 SimpleImage
    function adaptive_resize($width, $height = null)
    {
        return $this->thumbnail($width, $height);
    }