orangelabweb / imagemagick-engine

WordPress plugin to replace image engine with ImageMagick.
https://wordpress.org/plugins/imagemagick-engine/
9 stars 9 forks source link

Cannot change value for "Optimize for size" #15

Closed Zeg31 closed 4 years ago

Zeg31 commented 4 years ago

There is a little Bug in Version 1.6.4: when I change value for "Optimize for size", it always remains "70".

In line 943 - 948 of imagemagick-engine.php there seems to be trouble with $new_quality['quality-size'] instead of $new_quality['size'].

I added in line 950: $new_quality['size'] = $new_quality['quality-size'];

But there should be a better solution.

However, really nice Plugin, thank you!