Images

libjpeg-turbo – high-performance JPEG image codec

libjpeg-turbo is a high-performance JPEG image codec designed as a faster replacement for traditional libjpeg implementations. It accelerates baseline and progressive JPEG compression and decompression with SIMD instructions on supported processors while retaining compatibility with the widely used libjpeg API.

The project also provides the simpler TurboJPEG API for applications that need straightforward in-memory compression, decompression and image transformation. Its command-line utilities cover encoding, decoding, transcoding and benchmarking, making the project useful both as a development library and as a collection of practical JPEG tools.

libjpeg-turbo is an ISO/IEC and ITU-T reference implementation of the JPEG standard.

This is free and open source software.

Key Features

  • Accelerates baseline and progressive JPEG compression and decompression with hand-optimised SIMD code.
  • Implements the established libjpeg API and maintains compatibility with software built around the traditional JPEG library interface.
  • Provides the TurboJPEG API for simpler in-memory compression and decompression workflows.
  • Supports direct conversion between JPEG data and RGB, BGR, RGBX, BGRX, XRGB, XBGR and alpha-channel pixel layouts.
  • Can generate and consume planar YUV image data.
  • Supports arithmetic coding as well as Huffman coding.
  • Provides lossless JPEG transformations including rotation, flipping, transposition and cropping without fully decoding and recompressing image samples.
  • Includes cjpeg and djpeg for command-line JPEG compression and decompression.
  • Includes jpegtran for lossless transcoding and transformation of JPEG files.
  • Provides TurboJPEG command-line utilities and benchmarking tools.
  • Offers progressive JPEG handling and Huffman table optimisation.
  • Supports in-memory source and destination managers for applications that do not want file-based I/O.
  • Can emulate later libjpeg APIs and ABIs where compatibility with existing applications requires it.
  • Supports ICC profile handling and a broad range of JPEG workflows.

Website: github.com/libjpeg-turbo/libjpeg-turbo
Support:
Developer: The libjpeg-turbo Project
License: Independent JPEG Group License and Modified 3-clause BSD License

libjpeg-turbo is written in C and Assembly. Learn C with our recommended free books and free tutorials. Learn Assembly with our recommended free books and free tutorials.


Related Software

Console Based Image Compression Tools
MozJPEGMozilla JPEG Encoder Project
pngquantUtility and a library for lossy compression of PNG images
SVGONode.js library and command-line application for optimizing SVG files
OxipngMultithreaded PNG optimizer, forked from Optipng
libjxlReference implementation of JPEG XL
libjpeg-turboJPEG image codec
QOIThe Quite OK Image Format
YOGAYummy Optimizer for Gorgeous Assets
pngcrushOptimizer for PNG files
jpegoptimOptimize JPEG files. Lossless and lossy compression available
OptiPNGAdvanced PNG optimizer
ECTFast and effective C++ file optimizer
CrunchLossy PNG image file optimization
zopflipngPNG optimisation tool using zopfli
JPEG ArchiveUtilities for archive JPEGs for long term storage
cavifConvert PNG and JPEG images to space-saving AVIF format
optimiztCLI image optimization tool
FlacaLosslessly compress GIF, JPEG and PNG images from the terminal
picoptMulti format lossless image optimize
tinifierCLI tool for compressing images using the TinyPNG API

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted