Commit f9321cbd authored by Ben Hayward's avatar Ben Hayward

removed depreciated function call

1 merge request!242[Sprint/HipsterHedgehog](bug): Fix/imagick upgrade migration
Pipeline #68860590 pending with stages
......@@ -42,7 +42,7 @@ class Manager
$this->image->setImageBackgroundColor('white');
$this->image = $this->image->flattenImages();
$this->image = $this->image->mergeImageLayers($this->image::LAYERMETHOD_FLATTEN);
$this->image->setImageCompression($quality);
$this->image->setImageFormat('jpg');
......
......@@ -154,7 +154,7 @@ class Resize
$this->output->setImageBackgroundColor('white');
$this->output = $this->output->flattenImages();
$this->output = $this->output->mergeImageLayers($this->image::LAYERMETHOD_FLATTEN);
$this->output->setImageCompression($quality);
$this->output->setImageFormat('jpg');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment