imagesetclip
Supported Versions: PHP 7 >= 7.2.0, PHP 8
Set the clipping rectangle
<?php imagesetclip
(
GdImage $image
,
int $x1
,
int $y1
,
int $x2
,
int $y2
):
bool