Advanced Compression Tools

There are a lot of tools out there for compressing images. I've covered many of the WordPress plugins in a separate article, but there are a few others that you might be wondering about. If you don't see it in this list, shoot me a note and I'll see if it warrants a section here.

TinyPNG

The folks behind TinyPNG and TinyJPG have come up with something pretty amazing. They use a very different approach compared to images produced by Google's PSI testing tool, or any of the more common JPG libraries. Most common techniques simply see how far you can go without completely destroying the image quality. However, TinyPNG and TinyJPG use much better algorithms that excel at preserving image quality while also achieving a high rate of compression. This is why we use their software to power the Premium Plus level of our own API.

Brotli

Brotli is intended as a replacement for the ubiquitous gzip compression that can be applied to the actual HTML code of your page, as well as JavaScript, CSS, and other text-based content on your site. However, it must be installed at the server-level, for example, as an Nginx or Apache module. Brotli is automatically enabled on our Easy IO CDN for JS/CSS delivery.

HEIC

HEIC (or HEIF) stands for High Efficiency Image Codec (or Format), and is often used to encode images stored on phones. These images should not be used directly on a website but should be converted to JPG first. Some phones will allow you to convert a HEIC image before you upload it to your website, otherwise you can use an online converter before you upload images from your phone. There is an open feature request for EWWW IO to auto-convert HEIC images during upload.

Guetzli

Anytime Google does something new, folks pay attention. Guetzli is no exception to that, but the hype is a bit ridiculous on this one. First of all, Guetzli is NOT a JPG optimizer. Once you've saved a JPG, it is not useful to re-compress the image with Guetzli. It is a JPG compressor, one time only. It is meant to be used when saving a JPG from a PNG image or other lossless/high-quality input. Then, and only then, does it beat "normal" JPG encoders.

The HUGE disadvantage to Guetzli is the resource consumption. Guetzli uses ridiculous amounts of CPU and memory (the default memory limit is set at 6GB, ouch), and is extremely slow. For example, compressing a 1.2MB JPG takes about 7 seconds with TinyPNG, and results in 60% savings. That's already considered "slow" by many, but Guetzli sets a new bar for "slow" at nearly 6 minutes, and the compression is much worse with only 26% savings.

Additionally, images produced by Guetzli are not optimized. They can be further compressed by any standard JPG optimizer using progressive encoding. Our favorite JPG encoder is mozjpeg, and to date, I have not seen a better lossless JPG optimizer.

Lepton

This is a compression technology from Dropbox, and is useful only for compressing JPG images "at rest". While it is lossless, you must also have lepton to decompress and view your JPG. Without the decoder, your JPG images are inaccessible. Dropbox compresses images using lepton when they store them to their servers, and then when you want to download or view a JPG, they decompress it on the fly so you can view it again. There are no browsers, and no system viewers that can display lepton-encoded images natively. So if you want to save backup space and lepton-encode all your images, go right ahead. But don't put lepton-encoded images on your website, no one (including you) will be able to view them in the browser.

Still need help? Contact Us Contact Us