Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
When ImageMagick is the image processor...During the processing of an uploaded animated gif avatar, the frames of the gif get coalesced (Imagick::coalesceImages) but Imagick::deconstructImages doesn't get called after Imagick:: optimizeImageLayers gets called, resulting in a huge file size increase over the original (an order of magnitude from my personal testing on a few gifs).I tested a fix by slipping[code]$this->_image = $this->_image->deconstructImages();[/code]into XenForo_Image_ImageMagick_Pecl after the optimizeImageLayers call and the resulting gif was similar in size to the uploaded original.References used when hunting down the issue:http://php.net/manual/en/imagick.coalesceimages.php#110393https://stackoverflow.com/questions/18559132/imagick-making-animated-gifs-not-animated/19469380#19469380
When ImageMagick is the image processor...
During the processing of an uploaded animated gif avatar, the frames of the gif get coalesced (Imagick::coalesceImages) but Imagick::deconstructImages doesn't get called after Imagick:: optimizeImageLayers gets called, resulting in a huge file size increase over the original (an order of magnitude from my personal testing on a few gifs).
I tested a fix by slipping
[code]$this->_image = $this->_image->deconstructImages();[/code]
into XenForo_Image_ImageMagick_Pecl after the optimizeImageLayers call and the resulting gif was similar in size to the uploaded original.
References used when hunting down the issue:
http://php.net/manual/en/imagick.coalesceimages.php#110393
https://stackoverflow.com/questions/18559132/imagick-making-animated-gifs-not-animated/19469380#19469380
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences