public function _crop()
	{
		$source      = ! empty($this->resource) ? $this->resource : $this->image->getPathname();
		$destination = $this->getResourcePath();

		$action = ' -crop ' . $this->width . 'x' . $this->height . '+' . $this->xAxis . '+' . $this->yAxis . ' "' . $source . '" "' . $destination . '"';

		$this->process($action);

		return $this;
	}
public function _crop()
	{
		$source      = ! empty($this->resource) ? $this->resource : $this->image->getPathname();
		$destination = $this->getResourcePath();

		$action = ' -crop ' . $this->width . 'x' . $this->height . '+' . $this->xAxis . '+' . $this->yAxis . ' "' . $source . '" "' . $destination . '"';

		$this->process($action);

		return $this;
	}
public function _crop ( ) { $ source = ! empty ( $ this -> resource ) ? $ this -> resource : $ this -> image -> getPathname ( ) ; $ destination = $ this -> getResourcePath ( ) ; $ action = ' -crop ' . $ this -> width . 'x' . $ this -> height . '+' . $ this -> xAxis . '+' . $ this -> yAxis . ' "' . $ source . '" "' . $ destination . '"' ; $ this -> process ( $ action ) ; return $ this ; }
Crops the image.

@return boolean|\CodeIgniter\Images\Handlers\ImageMagickHandler
@throws \Exception
Crops the image .