image_type_to_extension

Supported Versions: PHP 5 >= 5.2.0, PHP 7, PHP 8
Get file extension for image type
<?php image_type_to_extension(int $image_type, bool $include_dot = true): string|false