src/mako/pixl/Image.php
public function resize($width, $height = null, $aspectRatio = Image::RESIZE_IGNORE): Image
	{
		$this->processor->resize($width, $height, $aspectRatio);

		return $this;
	}
public function resize($width, $height = null, $aspectRatio = Image::RESIZE_IGNORE): Image
	{
		$this->processor->resize($width, $height, $aspectRatio);

		return $this;
	}
public function resize ( $ width , $ height = null , $ aspectRatio = Image :: RESIZE_IGNORE ) : Image { $ this -> processor -> resize ( $ width , $ height , $ aspectRatio ) ; return $ this ; }
Resizes the image to the chosen size.

@param  int              $width       Width of the image
@param  int              $height      Height of the image
@param  int              $aspectRatio Aspect ratio
@return \mako\pixl\Image
Resizes the image to the chosen size .