1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 20:28:21 +01:00

Remove optimize image layers in imagick gif encoder

This commit is contained in:
Oliver Vogel 2023-11-11 09:16:19 +01:00
parent 7009313197
commit eb52217da2

View File

@ -38,7 +38,6 @@ class GifEncoder extends AbstractEncoder implements EncoderInterface
$imagick->setImageFormat($format);
$imagick->setCompression($compression);
$imagick->setImageCompression($compression);
$imagick->optimizeImageLayers();
$imagick = $imagick->deconstructImages();
return new EncodedImage($imagick->getImagesBlob(), 'image/gif');