IMAGECROP(3) 1 IMAGECROP(3)
imagecrop - Crop an image using the given coordinates and size, x, y, width and height
SYNOPSIS
resource imagecrop (resource $image, array $rect)
DESCRIPTION
Warning
This function is currently not documented; only its argument list is available.
PARAMETERS
o $
image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3).
o $rect
- Array with keys "x", "y", "width" and "height".
RETURN VALUES
Return cropped image resource on success or FALSE on failure.
PHP Documentation Group IMAGECROP(3)