imagegetclip

Supported Versions: PHP 7 >= 7.2.0, PHP 8
Get the clipping rectangle
<?php imagegetclip(GdImage $image): array