JPEG Optimizer Library on CPU and GPU

Updated:

Fastvideo JPEG Optimizer Library re-compresses existing JPEG images to a smaller file size with no visible quality loss, on both CPU and GPU. It works as a JPEG-to-JPEG pipeline (decode → optimize → re-encode) and exposes a simple API, so image delivery and storage shrink without changing the JPEG format.

jpeg optimizer library

Our expert knowledge in JPEG Standard and GPU programming are proved by performance benchmarks of our JPEG Codec. This is also a ground for our custom software design to solve various time-critical tasks in connection with JPEG images and corresponding services.

Our customers have been utilizing that GPU-based software for fast JPEG encoding and decoding, JPEG resize for high load web applications and they asked us to implement more optimizations which are indispensable for web solutions. These are the most demanding tasks:

The idea about image optimization is very popular and it really makes sense. As soon as JPEG is so widespread at web, we need to optimize JPEG images for web as well. By decreasing image size, we can save space for image storage, minimize traffic, improve latency, etc. There are many methods of JPEG optimization and recompression which could bring us better compression ratio while saving perceptual image quality. In our products we strive to combine all of them with the idea about better performance on multicore CPUs and on modern GPUs.

There is a great variety of image processing tasks which are connected with JPEG handling. They could be solved either on CPU or on GPU. JPEG handling comes in many shapes, and the right combination of methods depends on what you are optimizing for — storage, traffic, latency or perceptual quality. Where the standard library does not fit a particular pipeline, we build the variant that does.

A large web service processed over 400,000 JPEG images per second on our SDK.

JPEG Optimizer Library and other software from Fastvideo

What does the JPEG Optimizer library do?

Projects under development

Fastvideo publications on the subject

Detailed benchmark data. Measured results are published on our benchmark pages: JPEG codec benchmarks, all benchmarks.

Why you can trust these results

Fastvideo has built GPU-accelerated image processing software since 2009. Our codecs comply with the standards they implement — JPEG (ITU-T T.81 / ISO IEC 10918) and JPEG2000 (ITU-T T.800 / ISO IEC 15444) — and our tools are open source on GitHub. Every performance figure we publish is reproducible: see our benchmark methodology, download the Fastvideo SDK benchmark report (PDF), and measure it on your own GPU.

Contact Form

This form collects your name and email. See our Privacy Policy for how we handle your personal data.