XF 2.3 The quality of uploaded, optimized images is poor

Old Nick

Well-known member
I have enabled image optimization to Webp but am currently using PHP built-in GD image library (while waiting for my host to enable support for Webp with imagick), is this the cause of this?
Thanks.
 
My understanding is the the main difference with Imagick is in regard to thumnbnails.

I am finding the opposite, ie I would prefer the webp compressed more than it does but this is probably all down to personal preference and maybe I have a less discerning eye.

Presumably you have directly compared before and after
 
Note that the default compression is 85%. Chris D has mentioned that this can now be changed in the config.php file by adding

Code:
PHP:
$config['maxImageResizeQuality'] = 85;

and raising the (or lowering) the number. sadly there is no one-size-fits-all as the optimum can vary depending on the image itself.
 
It's probably safest. I use webp compression when exporting from Affinity Photo, and using the preview some images can go as low as 30 with no significant degradation (to my eyes) but others need at least 70. I have worked out why this is but maybe due to numbers different hues apposed to differing shades of the same hue.
 
maybe due to numbers different hues apposed to differing shades of the same hue.
That sounds like image posterization, where the converted image loses continuous graduation of tone to several areas of fewer tones. My unscientific impression is that it seems to occur more often with webp than jpg.
 
WebP is more aggressive about it, in ways JPEG isn’t. JPEG primarily does a much more localised back-and-forth to analyse differences, while WebP can do this on a much larger scale and in different directions, with the result that it will consider larger blocks of gradual tonal change to be much closer and therefore more aggressively compress them.
 
hehe yeah. i changed the xf setting to 15 and uploaded a bunch of images. they were blurry but still quite nice. but yeah set it back to default 85 because text image are going to get ruined at low setting.
 
Back
Top Bottom