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

  • Thread starter Thread starter Painbaker
  • Start date Start date
There is a bug in this version
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...