Getting the Best Image Compression

Image optimization improves SEO and sales conversions. However, image compression tools like TinyPNG are only part of a streamlined image optimization and delivery solution. If you are looking for the best image compression, you should consider an image CDN. By combining image compression, device detection, and a CDN, you get a solution that simplifies workflow and provides 66% greater image payload reduction.


Getting the Best Image Compression

Compression Tools vs. Image CDNs

Compression Tools

Install WordPress Plugin

One main difference between TinyPNG and an image CDN is that TinyPNG is a batch tool used at “build time” that lacks device detection. In other words, build-time tools don’t have the ability to adapt in real time to the requesting device.

Pros

  • Quickly generates multiple image sizes.
  • Compresses images to level that you choose.
  • Free tools
  • Can integrate in web development workflows.
  • Works on local networks and computers

Cons

  • Requires large amounts of responsive code bloat to select, serve images.
  • Counteracts data payload reduction benefits of image optimization.
  • Expands storage requirements to accommodate at least 6X growth in image derivatives.
  • Requires setting and maintaining breakpoints for selecting images.
  • Complicates image workflow for graphics and front end developers, taking time away from more strategic tasks.
  • Requires adding on CDN for additional delivery speed.
  • No device detection to ensure right device and support of image formats.
  • Lower pagespeed score; no support for next gen image formats Increased maintenance to stay abreast of new image formats like JPEG2000, WebP, or AVIF.
  • Potentially decreased image quality when mismatching images to devices

Image CDN

Install WordPress Plugin

What is an image CDN? It combines device detection, image optimization, and CDN services into an automatic and simple to deploy service. It takes all the operations of the image compressions tools like TinyPNG, but wraps them in a cloud-based service to make them smarter, simpler, and more efficient.

Pros

  • Eliminates 90% of image workflow by requiring only a single, high quality image.
  • Simple deployment through a plug in or image tag prefixing - No code bloat.
  • Device detection is built into CDN edge servers, ensuring accurate device-specific image optimization.
  • Zero maintenance - No image format or breakpoint maintenance needed.
  • Fully automatic, using the most effective image format possible.
  • Image directives for great control when needed.
  • Faster image payload delivery because images stored on CDN edge servers.

Cons

  • Monthly fee after free trial.
  • Requires one-time update of img tags to invoke image CDN (handled via plugin).
  • Does not work in local development.
Install WordPress Plugin

Install WordPress Plugin

Get started by downloading the Image CDN plugin from wordpress.org

Also available from the admin section of your WordPress site.

Get Started. 15 Minutes to Optimized Images

Get Started. 15 Minutes to Optimized Images

Sign up for ImageEngine and integrate with your web platform. In 15 minutes, ImageEngine will start automatically converting your images.

Case Study: MASARISHOP.com

Case Study: MASARISHOP.com

92% of our customers purchased from a mobile device so it’s important to improve our site’s speed because they are probably on a slow network. ImageEngine helped us speed up our site from 13 seconds to 4. 5 seconds.

Impact of Google’s Core Web Vitals on SEO

Back in 2015, Google started to update their search ranking algorithm to consider “mobile friendliness”. And now in 2020, Google has updated their use of Core Web Vitals to evaluate websites. This means the score on Core Web Vitals describing mobile-first performance will have a sizable impact on ALL websites and their SEO rankings. We surveyed the top 10,000 websites and found that many were not ready for mobile first. And now, many sites are still trying to figure out how to optimize performance for Core Web Vitals.

We surveyed the top 10,000 websites and found that many were not ready for mobile first. And now, many sites are still trying to figure out how to optimize performance for Core Web Vitals.

The Challenge of Image Optimization

An essential step to improve Core Web Vitals scores is optimizing your images. When most developers think image optimization, they think of running images through compression tools. Take oversized JPEGs, run them in batch or via plugin through a compression tool and ZIP! Images are optimized.

Well, not really.

You may have generated several sizes and formats of images. But are you really matching and delivering the right image size and format to the devices? There is a lot to consider to get this right. As Addy Osmani, Google engineer, pointed out:

“What matters is that you deliver... the correctly sized image, to the proper device, in the proper resolution, as fast as possible. Doing this is not as easy as one might think.”

In short, compression tools take care of only one aspect of image optimization. Developers still need to consider the full task of optimized image delivery. And if SEO, web performance, and image optimization workflow is important to you, then you should consider an image CDN solution.

Image Payload Reduction Comparison: Advantage Image CDN

Comparing a full image CDN to an image compression tool like TinyPNG is perhaps unfair. After all, the image compression tool’s sole function is to perform optimization at build-time, not all the other functionality you find in an image CDN. However, even when you compare just the image payload statistics, you find that an image CDN is superior.

Image Payload Reduction Saving Comparison: ImageEngine saved 64% compared to 20% by other compression tools.

In a study, we used the image traffic from a site in Asia where mobile and social media traffic account for 60–70% of traffic. We compared running the traffic through just an image compression tool versus the ImageEngine service. The results show that a stand-alone, build time compression tool shrinks total image payload down to about 80% of the original. Or, said differently, only 20% payload savings. However, ImageEngine reduced it to only 34% – or a 66% image payload reduction savings!

What accounts for the difference? Three factors explain the compression tool’s substandard performance. TinyPNG still needs breakpoints and code to deliver the right-sized image. Frequently, these breakpoints leave a lot of room for uncaptured optimization. Likewise compression settings need to calibrate to some mid-size device between breakpoints. This might not take into account pixel density ratios and display resolutions differences on various smartphones.

Finally, changing image formats to a more efficient file type complicates the image workflow. TinyPNG may enable conversion to new formats like WebP. However this dramatically increases the number of image derivatives. It also requires developers to deploy responsive image code. This increases the complexity of code required to select an appropriate image format for a particular device type/browser.

For an image CDN, the common differentiator that drives superior performance is device detection. Device detection enables the image CDN to address all of the shortcomings listed above. ImageEngine has the industry leading WURFL device detection built into its edge network. That means the instant a smartphone requests your website, the CDN knows exactly what size, compression and image format to serve. And since it caches your image variants on the edge servers automatically, the image CDN can serve them faster than a compression tool that has to go all the way back to the origin.

Is an Image CDN Right for You?

If you need great SEO, then you need image optimization. But is it worthwhile to use the image optimization services of an image CDN? The build versus buy equation really needs to take into account how much time you or your staff are willing to devote to building and maintaining an image optimization workflow. Developers don’t underestimate the potential complexity, time, and effort required to do image optimization correctly. It makes sense to look into an image CDN if any of the following are true:

  • A large percentage of your payload is images
  • You have a large site with hundreds or thousands of images
  • The website is dynamic, or if you regularly find yourself adding new images
  • Your customer base is international