imagegif

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Output image to browser or file
<?php imagegif(GdImage $image, resource|string|null $file = null): bool
<?php     protected function processGif()

    {

        ob_start();

        imagegif($this->image->getCore());

        $this->image->mime = image_type_to_mime_type(IMAGETYPE_GIF);

        $buffer = ob_get_contents();

        ob_end_clean();