ABOUT ME
PROJECTS
OTHER
GALLERIES

Image Compression

Compressing images is something that not everyone is familiar with. There's people who heard about JPEG, but there's more than that. This page presents many lossy image compressions.

The converted images' resolution is 1003x670 pixel, their bit depth is 8 bits per channel (24 bits per pixel). The images come from "Signature Edits".

Using the image viewers

By using the slider, you can set the quality (by dragging it or scrolling it by pointing at it). Apart from the quality, it shows the original file's size as well. By clicking on the images (or by tapping once), you can zoom the image to examine the losses.

JPEG

JPEG (Joint Photographic Experts group) as compression format is one of the most frequently used ones. The format was created by JPEG as the group, IBM, Canon, Mitsubishi Electric and AT&T. Every platform supports it at high level and compresses image at acceptable quality. Most phones capture images in JPEG. The JPEG was finalized in 1992.

WebP

WebP was developed by Google in 2010 for the reason to lower the network traffic by ~39%. Currently it's used mostly on YouTube, since it stores thumbnail images in parallel with JPEG. Webp ues the RIFF header.

HEIF

The HEIF (High Efficiency Image Format) format was created by MPEG. It was defined in 2013 and later on it was finalized in 2015. Apple was the first major adopter of the format in 2017, since when the IOS 11 was released, this became the default format. The HEIF uses the ISOBMFF (ISO Base Media File Format) container.

Note: I didn't had tools to convert straight to HEIF, so I used x265 and put into MP4 container, then back to PNG. This increases the compatibility.

AVIF

AVIF (AV1 Image Format) builds uppon AV1 video, more exactly from AV1 encoders' interframe part. The reference encoder (libaom-av1) was developed by AOM (Alliance for Open Media). The AVIF uses the ISOBMFF container.

JPEG XL

The JPEG XL is JPEG, as the group's, Google and Cloudinary's compression format that was released in 2021. JPEG XL is the original JPEG's extension for the reason to do better compression. In the format, there was a Hungarian person, Zoltán Szabadka, who was one of them defining JPEG XL's specification. JPEG XL uses the extended version of ISOBMFF.

Note: JPEG XL is currently not supported by most browsers, so it was converted back to PNG.

Sources

JPEG
WebP
HEIF
AVIF
JPEG XL