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

Status
This content is read-only, or is not open for further replies.

Painbaker

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom