Updated: July 2020
There are no affiliate links on PagePipe.
By default, WordPress always compressed images upon upload. In version 4.5, WordPress changed JPEG compression from 90Q to 82Q. This reduced image weight by an average of 25 percent. But why the magic number 82?
Since version 2.5, WordPress used a default-quality setting of 90 to optimize images. A 90Q (Q for quality) setting creates larger file sizes than recommended by modern web best practices. For example, WebPagetest warns site owners if images aren’t compressed enough.
WebPagetest specification: Images compressed within 10% of a Photoshop-web-save quality of 50 will pass. Up to 50 percent larger will warn (we guess that would be around 70Q to 75Q). Anything larger than that will fail. The image score is the percentage of bytes saved by image re-compression.
Photoshop provides a handy “Save for Web” option that keeps file sizes low. But what about a large website with a lot of images? An online store might have thousands of images. Having to create different sizes of each of these is an enormous task.
WordPress uses ImageMagick, an open-source command-line graphics editor, to quickly resizes images. This technique maintains great visual quality and small file sizes. It automates resizing image compression with formats like JPEG and PNG.
The Odd Number of 82Q.
Researchers compared ImageMagick’s various compression settings against Photoshop’s high quality (60Q) setting for JPEGs. An ImageMagick compression setting of 82Q was closest. They used an open source test to compare dissimilarity of input and output JPEG images.
Changing the default image quality setting is a small change. Yet, it makes a big impact on file size without sacrificing perceived image quality. The new 82Q setting only applies to the intermediate size images. Not the original files uploaded by users.
To change original image size dimensions and quality settings, we recommend Imsanity plugin (230,000+ installs, 53k zip download file size).
We repeat: original full-sized, uploaded images remain unaffected. This change only affects images resized by WordPress, such as image thumbnails. For international users, on slower web connections, this is important for performance optimization.
We approve these changes for improving WordPress speed.
If MailChimp messes up delivering your free report, email us and we’ll kick their monkey butt.