Crops an image to the given rectangular area and returns the resulting image. The given image is not modified.
A GdImage object, returned by one of the image creation functions, such as imagecreatetruecolor.
The cropping rectangle as array with keys x, y, width and height.
Return cropped image object on success or false on failure.
|8.0.0||image expects a GdImage instance now; previously, a resource was expected.|
|8.0.0||On success, this function returns a GDImage instance now; previously, a resource was returned.|