imagecreatefromwebp

Supported Versions: PHP 5 >= 5.4.0, PHP 7, PHP 8
Create a new image from file or URL
imagecreatefromwebp(string $filename): GdImage|false
                        "Unsupported image type. GD/PHP installation does not support WebP format."

                    
);

                }

                
$core = @imagecreatefromwebp($path);

                break;



            case 
'image/bmp':