graphics/jpeg-turbo 3.1.1 MidnightBSD
SIMD-accelerated JPEG codec which replaces libjpeg
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd3, IJG, zlib
- Categories
- graphics
Description
This is a drop-in replacement for the graphics/jpeg library. It does not include libturbojpeg.so (see graphics/libjpeg-turbo).
libjpeg-turbo is a high-speed version of libjpeg for x86 and x86-64 processors which uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression and decompression. libjpeg-turbo is generally 2-4x as fast as the unmodified version of libjpeg, all else being equal.
libjpeg-turbo was originally based on libjpeg/SIMD by Miyasaka Masaru, but the TigerVNC and VirtualGL projects made numerous enhancements to the codec, including improved support for Mac OS X, 64-bit support, support for 32-bit and big endian pixel formats (RGBA, ABGR, etc.), accelerated Huffman encoding/decoding, and various bug fixes. The goal was to produce a fully open source codec that could replace the partially closed source TurboJPEG/IPP codec used by VirtualGL and TurboVNC. libjpeg-turbo generally achieves 80-120% of the performance of TurboJPEG/IPP. It is faster in some areas but slower in others.
In the other systems
The newest version among them is 3.1.4.1, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | graphics/jpeg-turbo | 3.1.1 | no data | - | [email protected] | - |
| FreeBSD | graphics/jpeg-turbo | 3.1.4.1 newest | none known | - | [email protected] | 2026-07-13 |
| DragonFly | graphics/jpeg-turbo | 3.1.0 | none known | - | [email protected] | - |
| HardenedBSD | graphics/jpeg-turbo | 3.1.4.1 newest | no data | - | [email protected] | - |
| GhostBSD | graphics/jpeg-turbo | 3.1.4.1 newest | no data | - | [email protected] | - |
| OPNsense | graphics/jpeg-turbo | 3.1.4.1 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install jpeg-turbo
From mports:
cd /usr/mports/graphics/jpeg-turbo && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= jpeg-turbo>0:graphics/jpeg-turbo
LIB_DEPENDS= libjpeg.so:graphics/jpeg-turbo
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Required by 2
Configuration
Options name: graphics_jpeg-turbo
| Option | Default | Description |
|---|---|---|
| DOCS | off | |
| OPTIMIZED_CFLAGS | on |
- USES
- cmake cpe pathfix
- Service scripts
- none
Files
Manual pages 5
- cjpeg(1)
- djpeg(1)
- jpegtran(1)
- rdjpgcom(1)
- wrjpgcom(1)
pkg-plist 30
- bin/cjpeg
- bin/djpeg
- bin/jpegtran
- bin/rdjpgcom
- bin/wrjpgcom
- include/jconfig.h
- include/jerror.h
- include/jmorecfg.h
- include/jpeglib.h
- lib/cmake/libjpeg-turbo/libjpeg-turboConfig.cmake
- lib/cmake/libjpeg-turbo/libjpeg-turboConfigVersion.cmake
- lib/cmake/libjpeg-turbo/libjpeg-turboTargets-.cmake
- lib/cmake/libjpeg-turbo/libjpeg-turboTargets.cmake
- lib/libjpeg.a
- lib/libjpeg.so
- lib/libjpeg.so.8
- lib/libjpeg.so.8.3.2
- libdata/pkgconfig/libjpeg.pc
- share/man/man1/cjpeg.1.gz
- share/man/man1/djpeg.1.gz
- share/man/man1/jpegtran.1.gz
- share/man/man1/rdjpgcom.1.gz
- share/man/man1/wrjpgcom.1.gz
- bin/tjbench
- include/turbojpeg.h
- lib/libturbojpeg.a
- lib/libturbojpeg.so
- lib/libturbojpeg.so.0
- lib/libturbojpeg.so.0.4.0
- libdata/pkgconfig/libturbojpeg.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libjpeg-turbo-3.1.1.tar.gz | 2.50601e+06 | aadc97ea91f6ef078b0ae3a62bba69e008d9a7db19b34e4ac973b19b71b4217c |
Master sites 1
- https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.1.1/