public function crop(ImageInterface $image, $x, $y, $width, $height) { $point = new Point($x, $y); $box = new Box($width, $height); $image->crop($point, $box); return $image; }