imagecrop

(PHP 5 >= 5.5.0)

imagecropCrop an image using the given coordinates and size, x, y, width and height

說明

resource imagecrop ( resource $image , array $rect )

Warning

此函式目前沒有參考文件;只有引數列表。

參數

image

由影像建立函式(例如imagecreatetruecolor())回傳的影像資源。

rect

Array with keys "x", "y", "width" and "height".

回傳值

Return cropped image resource on success 或者在失敗時回傳 FALSE.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top