PHP | Gmagick chopimage() Function
The Gmagick::chopimage() function is an inbuilt function in PHP which is used to remove the region of an image and trim it. This function accepts the dimension of image and chops the area and the dimension from where the image is to be trim.Syntax: Gmagick Gmagick::chopimage( $width, $height, $x, $y