Solved GIF optimization issue caused by deprecated deconstructImages() in Imagick driver

This topic has been solved
P

Painbaker

Guest
The XenForo Imagick image driver is using the deconstructImages() method, which is no longer recommended for use with animated GIFs. This may be causing unexpected behavior or degraded image quality.


PHP:

Code:
    public function save($file, $format = null, $quality = null)
    {
        ....

        switch ($format)
        {
            case IMAGETYPE_GIF:
                if (is_callable([$this->imagick, 'optimizeimagelayers']))
                {
                    $optimized =...

Read more

Continue reading...