public function crop($width, $height, $x1 = 0, $y1 = 0, $dstX = 0, $dstY = 0)
    {
        $this->resize($width, $height, $x1, $y1, $dstX, $dstY, true);

        return $this;
    }
public function crop($width, $height, $x1 = 0, $y1 = 0, $dstX = 0, $dstY = 0)
    {
        $this->resize($width, $height, $x1, $y1, $dstX, $dstY, true);

        return $this;
    }
public function crop ( $ width , $ height , $ x1 = 0 , $ y1 = 0 , $ dstX = 0 , $ dstY = 0 ) { $ this -> resize ( $ width , $ height , $ x1 , $ y1 , $ dstX , $ dstY , true ) ; return $ this ; }
Cuts part of image.

@access public
@param int $width Width crop.
@param int $height Height crop.
@param int $x1 [Optional] x-coordinate of source point.
@param int $y1 [Optional] y-coordinate of source point.
@param int $dstX [Optional] x-coordinate of destination point.
@param int $dstY [Optional] y-coordinate of destination point.
@return \GImage\Image
Cuts part of image .