src/Manipulators/Size.php
public function runContainResize(Image $image, $width, $height)
    {
        return $image->resize($width, $height, function ($constraint) {
            $constraint->aspectRatio();
        });
    }
public function runContainResize(Image $image, $width, $height)
    {
        return $image->resize($width, $height, function ($constraint) {
            $constraint->aspectRatio();
        });
    }
public function runContainResize ( Image $ image , $ width , $ height ) { return $ image -> resize ( $ width , $ height , function ( $ constraint ) { $ constraint -> aspectRatio ( ) ; } ) ; }
Perform contain resize image manipulation.
@param  Image   $image  The source image.
@param  integer $width  The width.
@param  integer $height The height.
@return Image   The manipulated image.
Perform contain resize image manipulation .