imagecrop

(PHP 5 >= 5.5.0, PHP 7)

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

Опис

resource imagecrop ( resource $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 або FALSE в разі помилки.

add a note add a note

User Contributed Notes

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