1. Home
  2. Browse
  3. libjpeg-turbo

libjpeg-turbo

v3.2.0#1Latest

libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX, SSE2, NEON, AltiVec) to accelerate baseline JPEG compression and decompression on x86, x86-64, ARM, and PowerPC systems.

Install

Run the following Vcpkg command to install the port.

vcpkg install libjpeg-turbo

Usage

libjpeg-turbo is compatible with built-in implementation-agnostic CMake targets:

find_package(JPEG REQUIRED)

target_link_libraries(main PRIVATE JPEG::JPEG)

libjpeg-turbo provides CMake targets for the TurboJPEG C API:

find_package(libjpeg-turbo CONFIG REQUIRED)

target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:libjpeg-turbo::turbojpeg>,libjpeg-turbo::turbojpeg,libjpeg-turbo::turbojpeg-static>)

libjpeg-turbo provides pkg-config modules:

# A SIMD-accelerated JPEG codec that provides the libjpeg API

libjpeg

# A SIMD-accelerated JPEG codec that provides the TurboJPEG API

libturbojpeg

Features

Dependencies

See source

Version

v3.2.0#1

Publication

Supports

All

GitHub

libjpeg-turbo/libjpeg-turbo4.4K

Homepage

libjpeg-turbo.org

Subtree

d53f25d56e

License

BSD-3-ClauseandIJG

Definition

Manifest