imageresolution

Supported Versions: PHP 7 >= 7.2.0, PHP 8
Get or set the resolution of the image
<?php imageresolution(GdImage $image, ?int $resolution_x = null, ?int $resolution_y = null): array|bool