imagecrop
(PHP 5 >= 5.5.0, PHP 7)
imagecrop — Crop an image using the given coordinates and size, x, y, width and height
Descrição
resource imagecrop
( resource
$image
, array $rect
)
Warning
Esta função não está documentada; somente a lista de argumentos está disponível.
Parâmetros
-
image -
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
-
rect -
Array with keys "x", "y", "width" and "height".
Valor Retornado
Return cropped image resource on success ou FALSE em caso de falha.