imagepalettetotruecolor

Supported Versions: PHP 5 >= 5.5.0, PHP 7, PHP 8
Converts a palette based image to true color
<?php imagepalettetotruecolor(GdImage $image): bool
<?php         }



        ob_start();

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

        imagealphablending($this->image->getCore(), true);

        imagesavealpha($this->image->getCore(), true);

        imagewebp($this->image->getCore(), null, $this->quality);