imagecrop

Supported Versions: PHP 5 >= 5.5.0, PHP 7, PHP 8
Crop an image to the given rectangle
<?php imagecrop(GdImage $image, array $rectangle): GdImage|false