(PHP 5 >= 5.5.0)
imagecrop — Crop an image using the given coordinates and size, x, y, width and height
$image
, array $rect
)
This function is currently not documented; only its argument list is available.
image
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
rect
Array with keys "x", "y", "width" and "height".
Return cropped image resource on success or FALSE
on failure.