libjpeg-turbo

Libjpeg-turbo

libjpeg-turbo is a JPEG image codec that uses SIMD instructions to accelerate baseline JPEG compression and decompression on x86, x86-64, ARM, and PowerPC systems. It is faster than libjpeg and provides API/ABI compatibility with it.
libjpeg-turbo image
jpeg image-compression simd x86 arm powerpc

libjpeg-turbo: Faster JPEG Compression

libjpeg-turbo is a JPEG image codec that uses SIMD instructions to accelerate baseline JPEG compression and decompression on x86, x86-64, ARM, and PowerPC systems. It is faster than libjpeg and provides API/ABI compatibility with it.

What is Libjpeg-turbo?

libjpeg-turbo is a JPEG image codec that uses SIMD instructions to accelerate baseline JPEG compression and decompression on x86, x86-64, ARM, and PowerPC systems. It is licensed under a non-viral OSI-approved license that makes it suitable for use in closed-source products.

libjpeg-turbo implements both the traditional libjpeg API as well as the less abstract TurboJPEG API. libjpeg-turbo consists of a compression frontend (turbojpeg), a decompression library, and a version of the libjpeg runtime library. The decompression library is what accelerates JPEG compression/decompression on supported platforms, but the turbojpeg module provides additional functions for efficient transcoding between different JPEG formats without loss of quality.

libjpeg-turbo was originally based on libjpeg/SIMD, an MMX-accelerated derivative of libjpeg v6b developed by Miyasaka Masaru. The TigerVNC and VirtualGL projects made numerous enhancements to the codec in 2009, and libjpeg-turbo spun off into an independent project in 2010. libjpeg-turbo has since developed a large and active user base.

It delivers faster performance than libjpeg while still retaining API/ABI compatibility with it. This makes libjpeg-turbo a popular drop-in accelerated for libjpeg in a wide range of open source and commercial products.

Libjpeg-turbo Features

Features

  1. SIMD-accelerated JPEG encoding and decoding
  2. Faster than libjpeg
  3. API/ABI compatible with libjpeg
  4. Supports x86, x86-64, ARM and PowerPC architectures

Pricing

  • Open Source

Pros

Significantly faster JPEG compression and decompression

Compatible with existing libjpeg applications

Better performance on multi-core systems

Supports various color spaces and chroma subsampling modes

Cons

Limited to baseline JPEG, no support for progressive JPEG

Requires processor with SIMD capabilities for best performance

Not compatible with libjpeg-turbo specific features if migrating from libjpeg


The Best Libjpeg-turbo Alternatives

Top Photos & Graphics and Image Codecs and other similar apps like Libjpeg-turbo

Here are some alternatives to Libjpeg-turbo:

Suggest an alternative ❐

MozJPEG icon

MozJPEG

MozJPEG is an open-source image compression tool developed by Mozilla to optimize JPEG image files. It applies advanced compression techniques to achieve up to 5-10% smaller JPEG file sizes compared to standard JPEG encoders, without impacting visual quality or compatibility.MozJPEG works by thoroughly analyzing and optimizing an input JPEG image...
MozJPEG image
Guetzli icon

Guetzli

Guetzli is an open source JPEG encoder created and released by Google in 2017. Its main goal is to create JPEG images that have file sizes 20-30% smaller than images of equivalent quality produced by other JPEG encoders, without losing visual quality.It achieves the improved compression by spending more time...
Guetzli image
Libpng icon

Libpng

libpng is an open source C library that provides an API for programmers to handle and manipulate Portable Network Graphics (PNG) format image files. It aims to be a replacement for the PNG reference library. libpng is widely used across platforms and languages to read, create, and transform PNG files.Some...
Libpng image
Libtiff icon

Libtiff

libtiff is an open source library for working with Tagged Image File Format (TIFF) images. It provides APIs for reading, writing, and manipulating TIFF images in a variety of formats.Some key features of libtiff include:Supports a wide range of TIFF formats including RGB, grayscale, palette color, CMYK, bilevel, and moreHandles...
GIFLIB icon

GIFLIB

GIFLIB is an open-source C software library that provides functionality for reading, writing, and manipulating GIF images. It was originally developed in the late 1980s and has become one of the most widely-used GIF libraries.Some key features of GIFLIB include:Encoding and decoding GIF images up to 2GB in sizeSupport for...
GIFLIB image