imagecreatefromgif

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Create a new image from file or URL
<?php imagecreatefromgif(string $filename): GdImage|false
<?php                 break;



            case 'image/gif':

                $core = @imagecreatefromgif($path);

                break;



            case 'image/webp':