Case study

Images 30% smaller than WebP: faster pages and a lower bandwidth bill

For a photo-heavy website serving millions of images, we wrote a GPU encoder that is 12 times faster than the standard one. Images ship 30% smaller than WebP at the same quality, so every page loads faster and the bandwidth bill shrinks.

  • 30%smaller than WebP at the same quality, so every page loads faster
  • 86%smaller than the original JPEGs, so every page view costs less to serve
  • 12xfaster than the standard encoder, at the same file size
  • 337megapixels encoded every second: months of work done in days

The result: smaller images, faster pages, a lower bandwidth bill

For a photo-heavy, high-traffic website serving millions of images, we wrote a GPU image encoder, av1gpu, and converted the entire archive with it.

  • Smaller images. Photos now ship 30% smaller than WebP at the same quality, and 86% smaller than the original JPEGs.
  • Faster pages. Lighter images reach every visitor sooner, on every page.
  • A lower bandwidth bill. Every page view sends fewer bytes, so the bill shrinks with every image served.

Months of conversion, done in days

AVIF is the modern image format that makes photos far smaller at the same quality. The catch is speed. The standard encoder, the software that converts images to AVIF, is slow, and converting millions of images with it would tie up a server for months.

Graphics cards have a built-in encoder, but it is designed for video. On still photos it is slow and its files are larger. So we wrote a new one.

  • 12 times faster than the standard encoder, at the same file size.
  • 22 times faster than the graphics card’s built-in encoder, with smaller files.
  • 337 megapixels a second, so a job measured in months finished in days.

A site that stayed fast the whole time

  • Full speed for visitors during the conversion. The encoder does its work on the graphics card and leaves the server’s processors free to serve the site.
  • New uploads ready in a blink. A new photo converts in under half a second.
  • Every common format handled. JPEG, PNG and WebP files go in, and a smaller AVIF file comes out.

Tested bit for bit, so every photo comes out right

Speed is worthless if a photo comes out wrong, so correctness came first. Independent software opens every test image the encoder produces and compares it, bit for bit, with the picture the encoder intended.

av1gpu is open source and runs in production on the archive it was built for. Ask and we’ll send the benchmark method and data.

What this means for you

  • Make every page faster and cheaper to serve. If your pages are heavy with images, smaller files speed up every view and cut the bandwidth bill. See computer vision and image AI.
  • Finish the job that is too slow or too costly on ordinary hardware. We match the hardware and the code to the job, so it finishes sooner and costs less to run. See private AI and hybrid infrastructure.

Want a result like this one?

Tell us what you’re facing. An engineer replies within one business day, and in a free 30-minute session you’ll hear how we’d get you there, how long it takes and what it involves.