
Changing the sizes generated to match the default WordPress sizes.Here are a couple example reports generated by the script, both with DSSIM 3.1.2:Įxtended Test Quality Range (quality by 5s), with Imagick Only. env to set up to run on environments other than WordPress' Docker development environment. There's documentation there now, and it should be possible to use. I've been making good progress here, and about ready to move the branch changes into main on my fork: On Imagick, initial results show the current default is close, anyway, but that different types of images change the optimal level, so a larger sample set of images would be helpful.


I’m hoping running it on GD, along with expanding the image set, will help verify those results.
#IMAGEMAGIC JPG OPTIMIZE DOWNLOAD#
If you download that branch, and toss it in any sort of local server, you can view the results from the initial dataset by visiting index.html. As far as I'm aware, this was added back when WebP support was added to WordPress. Ran into a problem where GD in the WordPress Docker Environment doesn’t seem to support WebP on the default PHP, at least on my installation, so digging into that. I’m currently trying to get it to work with GD as well. It's a very rough proof of concept at the moment.

I got some initial results in this branch with Imagick before a break - enough to find out that the method should work for us: Since you mentioned srcset, just in case the info is helpful: WordPress supports srcset natively, and the sizes should be automatically filled out with a set of thumbnails/generated sizes that are created on upload.
