It is no longer available in the settings, but can be set as an override (EWWW_IMAGE_OPTIMIZER_JPG_QUALITY): https://docs.ewww.io/article/40-override-options
Thread Starter
John
(@dsl225)
OK, thanks for this.
2 questions:
– if I want to set the compression level to 75 for instance, should I use this?
define( ‘EWWW_IMAGE_OPTIMIZER_JPG_QUALITY’, 75 );
– If I run again for previously bulk optimized images (by checking the corresponding checkbox) will this compression level be applied?
Yes, to set it to level 75, that looks exactly correct.
And then, well… that’s exactly why it was hidden, it doesn’t do anything to the EWWW IO compression 🙂 The free JPG compression is 100% lossless, so there is no quality setting to adjust.
As noted in the docs, the quality setting is used by the core WordPress resizing/scaling/cropping functions, PNG to JPG conversion, and WebP conversion only. So if you regenerate thumbnails, the quality setting would be applied to all your thumbs, plus medium, large, etc.
Thread Starter
John
(@dsl225)
Oh, I see, that’s right.
But still not clear with your second paragraph here.
Is this a setting ONLY for EWWW or global for WP?
As you state here this level, in this example, will be applied when regenerating thumbs – and this is what I want – but that’s not an EWWW feature, or is it?
Good question, it’s global for WP, so you can use the Regenerate Thumbnails plugin (or any of a dozen similar plugins) and the quality setting for EWWW IO should be applied. But no, EWWW IO doesn’t have a thumb regenerate function.
Thread Starter
John
(@dsl225)
Great, many thanks for this, well noted.