$npx skillfedfor your agent

turbojpeg

Python bindungs for libjpeg-turbo using pybind11

With conditionsPyPI GraphicsReleased Aug 202395.8K downloads / moPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — turbojpeg-0.0.2-cp310-cp310-macosx_10_9_x86_64.whl · turbojpeg-0.0.2-cp310-cp310-macosx_11_0_arm64.whl · turbojpeg-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
v0.0.2 · released 2023-08-06 · Python >=3.7

Yes, if you need direct access to libjpeg-turbo's JPEG operations and your platform is among those with precompiled wheels. Verify the license first. The aging maintenance status (no releases since 2023-08-06) is a minor concern if the functionality is stable and meets your needs, but monitor for security issues or compatibility problems with future Python versions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires libjpeg-turbo binaries; precompiled wheels are provided for Windows (32/64-bit), macOS (x86_64/arm64), manylinux, and musllinux platforms.
  • Requires Python >=3.7.
  • Medium install friction due to compiled wheels for multiple platforms (Windows, macOS, Linux variants).

License · maintenance · safety

(unclear) — License treatment is unclear; the package metadata does not specify an SPDX identifier or raw license text. Verify the actual license before use in proprietary or restricted contexts.

last release 2023-08-06 (1104 days) · last repo commit 2025-05-12 · 4 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 95,810 downloads/mo, #13,247 on PyPI

Verify before relying

import turbojpeg

with open("image.jpg", "rb") as fr:
    img_data = fr.read()

img_data_rot = turbojpeg.transform(img_data, op=turbojpeg.OP.ROT90)

with open("image-rotated.jpg", "xb") as fw:
    fw.write(img_data_rot)
  • Whether the unclear license is compatible with your project's licensing requirements
  • Performance characteristics compared to other JPEG libraries in your use case
  • Whether all platform wheels are actively tested and stable
Same gist for agents: .md · .json

What it is and what it does

turbojpeg is a thin Python wrapper around libjpeg-turbo's C API, built with pybind11. It exposes three core functions: transform (for lossless JPEG operations like rotation), compress (to encode image arrays as JPEG), and decompress (to decode JPEG data). The package is designed for developers who need fast JPEG processing and want direct access to libjpeg-turbo's performance and feature set.

The package ships precompiled wheels for multiple platforms (Windows, macOS, Linux), reducing installation friction compared to building from source. However, it has not been updated since its latest release on 2023-08-06, and the license is not clearly declared in the metadata. It carries no runtime dependencies beyond the bundled libjpeg-turbo binaries.

Use it for

  • Rotate or flip JPEG images losslessly without recompression artifacts
  • Compress numpy arrays to JPEG format with quality and sampling control
  • Decompress JPEG files into raw image data for processing pipelines
  • Batch process images using arithmetic coding or other TurboJPEG features
  • Integrate high-performance JPEG operations into image processing workflows

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need direct access to libjpeg-turbo's JPEG operations and your platform is among those with precompiled wheels.

Verify the license first. The aging maintenance status (no releases since 2023-08-06) is a minor concern if the functionality is stable and meets your needs, but monitor for security issues or compatibility problems with future Python versions.

Install

turbojpeg on PyPI

Before you install

Medium install friction due to compiled wheels for multiple platforms (Windows, macOS, Linux variants). Package is aging—last release was over a year ago, though the repository remains active with recent commits. No runtime dependencies to manage.

Requires libjpeg-turbo binaries; precompiled wheels are provided for Windows (32/64-bit), macOS (x86_64/arm64), manylinux, and musllinux platforms. Requires Python >=3.7.

License in practice

License treatment is unclear; the package metadata does not specify an SPDX identifier or raw license text. Verify the actual license before use in proprietary or restricted contexts.

Quickstart

import turbojpeg

with open("image.jpg", "rb") as fr:
    img_data = fr.read()

img_data_rot = turbojpeg.transform(img_data, op=turbojpeg.OP.ROT90)

with open("image-rotated.jpg", "xb") as fw:
    fw.write(img_data_rot)

Verify before relying

  • Whether the unclear license is compatible with your project's licensing requirements
  • Performance characteristics compared to other JPEG libraries in your use case
  • Whether all platform wheels are actively tested and stable

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.7
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceAging 1,104 days since the last release
Last repo commit
First released
Downloads95,810 / month, #13,247 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: turbojpeg-0.0.2-cp310-cp310-macosx_10_9_x86_64.whl; turbojpeg-0.0.2-cp310-cp310-macosx_11_0_arm64.whl; turbojpeg-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; turbojpeg-0.0.2-cp310-cp310-musllinux_1_1_x86_64.whl; turbojpeg-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl; turbojpeg-0.0.2-cp310-cp310-win32.whl; turbojpeg-0.0.2-cp310-cp310-win_amd64.whl; turbojpeg-0.0.2-cp311-cp311-macosx_10_9_x86_64.whl; turbojpeg-0.0.2-cp311-cp311-macosx_11_0_arm64.whl; turbojpeg-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; turbojpeg-0.0.2-cp311-cp311-musllinux_1_1_x86_64.whl; turbojpeg-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl; turbojpeg-0.0.2-cp311-cp311-win32.whl; turbojpeg-0.0.2-cp311-cp311-win_amd64.whl; turbojpeg-0.0.2-cp312-cp312-macosx_10_13_x86_64.whl; turbojpeg-0.0.2-cp312-cp312-macosx_11_0_arm64.whl; turbojpeg-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; turbojpeg-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl; turbojpeg-0.0.2-cp312-cp312-win32.whl; turbojpeg-0.0.2-cp312-cp312-win_amd64.whl

Tags

Capabilities
jpeg compression pythonlibjpeg-turbo bindingslossless jpeg rotationimage compression libraryturbojpeg pythonjpeg transform decompressfast jpeg encoding
Topics
image-processingjpegc-bindings

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “jpeg compression python”

  • turbojpegPython bindings for libjpeg-turbo that provide lossless JPEG…
  • pylibjpegDecodes and encodes JPEG, JPEG-LS, JPEG 2000, and RLE image formats,…
  • pylibjpeg-openjpegDecodes and encodes JPEG 2000 images to and from NumPy arrays, with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Graphics packages

pillow Worth it
PyPI · Graphics · released Jul 2026

Pillow adds image processing capabilities to Python, providing file format support, efficient pixel data handling, and image manipulation operations.

Install it if you need to work with images in Python—it is the de facto standard for this task.

MIT-CMUcompiled wheel · 3.10+
547.1Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
matplotlib-inline Worth it
PyPI · Graphics · released May 2026

Enables matplotlib figures to display inline directly within Jupyter notebooks and IPython environments instead of in separate windows.

BSD-3-Clausepure Python · 3.9+
130.5Mdownloads / mo
pymupdf Worth it
PyPI · Libraries · released Aug 2026

PyMuPDF extracts, renders, converts, and manipulates PDF and other document formats (XPS, EPUB, images, Office files via Pro) with high performance, providing text, tables, images, and metadata with precise layout information.

The AGPL license requires careful review if you are building proprietary software—commercial licensing is available from Artifex.

AGPLcompiled wheel · 3.10+
114.9Mdownloads / mo
pypdfium2 Worth it
PyPI · Libraries · released Aug 2026

pypdfium2 is a Python binding to PDFium that enables PDF rendering, inspection, manipulation, and creation through a ctypes interface to Google's PDFium library.

Install it if you need PDF rendering, inspection, or manipulation in Python; the medium install friction is offset by comprehensive platform support.

permissive licensecompiled wheel · 3.6+
76.9Mdownloads / mo
altair Worth it
PyPI · Graphics · released Jun 2026

Altair is a declarative Python library for creating interactive statistical visualizations by writing simple, readable code that compiles to Vega-Lite specifications.

BSD-3-Clausepure Python · 3.10+
54.5Mdownloads / mo

See also PyTurboJPEG · pyjpegls · pylibjpeg-openjpeg · pylibjpeg-libjpeg · pylibjpeg · lzallright · python-lzf · python-neo-lzf · lzfse · etcpak