Gen. partnerAlgotech

PHP funkce imagecrop()

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

|
11. září 2019

Dostupnost ve verzích: PHP 5.5.0

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

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$image resource An image resource, returned by one of the image creation functions, such as {@link https://www.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}.
$rect array Array with keys "x", "y", "width" and "height".

resource

|bool Return cropped image resource on success or FALSE on failure.

Další zdroje

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.