(PHP 5 >= 5.5.0)
imagecrop — Crop an image using the given coordinates and size, x, y, width and height
$image
, array $rect
)
此函式目前沒有參考文件;只有引數列表。
image
由影像建立函式(例如imagecreatetruecolor())回傳的影像資源。
rect
Array with keys "x", "y", "width" and "height".
Return cropped image resource on success 或者在失敗時回傳 FALSE
.