nvidia-nvimgcodec-cu12
NVIDIA nvimgcodec for CUDA 12.
What it is and what it does
nvImageCodec is NVIDIA's GPU-accelerated image codec library designed as an extensible framework. It provides a unified interface for codec operations, with optional plugins for nvjpeg, nvjpeg2k, and nvtiff formats. The package is built specifically for CUDA 12 and supports Python 3.9 through 3.14.
The library offloads image encoding and decoding to the GPU, reducing CPU overhead for image processing workloads. Installation includes optional dependencies for specific codec support—you can install just the base library or add nvjpeg, nvjpeg2k, nvtiff, or all plugins together. Platform support is limited to x86_64, aarch64, and Windows due to the nature of GPU-specific wheels.
Use it for:
- Accelerate batch image decoding in computer vision pipelines using GPU hardware instead of CPU.
- Encode or decode JPEG images at scale in data preprocessing for machine learning workflows.
- Process TIFF images with GPU acceleration in scientific or medical imaging applications.
- Build custom codec plugins on top of the nvImageCodec framework for specialized image formats.
- Reduce latency in real-time image processing by offloading codec operations to the GPU.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
nvImageCodec provides GPU-accelerated codec operations through a unified interface, with optional plugins for JPEG, JPEG2K, and TIFF encoding and decoding.
Yes, if you have a compatible NVIDIA GPU with CUDA 12 and need GPU-accelerated image codec operations. The library is actively maintained, has no known vulnerabilities, and offers a clean plugin architecture. No, if you lack GPU hardware or require CPU-only image processing.
Install
nvidia-nvimgcodec-cu12 on PyPI
pip
pip install nvidia-nvimgcodec-cu12uv
uv add nvidia-nvimgcodec-cu12poetry
poetry add nvidia-nvimgcodec-cu12Installing nvidia-nvimgcodec-cu12
Before you install
Medium install friction due to platform-specific wheels (x86_64, aarch64, Windows) and CUDA 12 dependency. Active maintenance with recent commits and no known vulnerabilities.
License in practice
Apache License 2.0 is permissive, allowing commercial and private use with minimal restrictions.
Quickstart
pip install nvidia-nvimgcodec-cu12
# For JPEG support:
pip install nvidia-nvimgcodec-cu12[nvjpeg]
import nvidia_nvimgcodec as nvimgcodec
# Use codec operations via the unified interface
Requires CUDA 12 runtime and compatible GPU; wheels available only for x86_64, aarch64, and Windows platforms.
Verify before relying
- Specific codec operations and API surface beyond the unified interface framework
- Performance benchmarks or throughput claims for accelerated operations
- Compatibility matrix between optional plugins and CUDA versions
Package facts
| License | Apache License 2.0 (permissive) |
| Python support | supports the current Python release (<3.15,>=3.9) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 31 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 184,570/month — #10,030 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: nvidia_nvimgcodec_cu12-0.9.0.20-py3-none-manylinux_2_28_aarch64.whl; nvidia_nvimgcodec_cu12-0.9.0.20-py3-none-manylinux_2_28_x86_64.whl; nvidia_nvimgcodec_cu12-0.9.0.20-py3-none-win_amd64.whl
Tags
More Graphics packages
Pillow adds image processing capabilities to…
permissive · top 100 on PyPI
fonttoolsfonttools manipulates font files in multiple…
permissive · top 1,000 on PyPI
matplotlib-inlineEnables matplotlib figures to display inline…
permissive · top 1,000 on PyPI
pymupdfPyMuPDF extracts, renders, converts, and…
agpl · top 1,000 on PyPI
pypdfium2pypdfium2 is a Python binding to PDFium that…
permissive · top 1,000 on PyPI
altairAltair is a declarative Python library for…
permissive · top 1,000 on PyPI
nvidia-libnvcomp-cu12Provides GPU-accelerated lossless data…
unclear · top 15,000 on PyPI
pynvvideocodecPyNvVideoCodec provides hardware-accelerated…
permissive · top 15,000 on PyPI
nvidia-cusparse-cu12Provides NVIDIA CUSPARSE native runtime…
unclear · top 1,000 on PyPI
torchcodecTorchCodec decodes and encodes videos, audio,…
unclear · top 5,000 on PyPI
nvidia-cudnn-cu12Provides cuDNN runtime libraries for…
unclear · top 1,000 on PyPI
decord2Decord2 decodes video and audio files with…
permissive · top 15,000 on PyPI
nvidia-cuda-runtime-cu12Provides NVIDIA CUDA 12 runtime native…
unclear · top 1,000 on PyPI
nvidia-cusolver-cu11Provides NVIDIA CUDA solver native runtime…
unclear · top 5,000 on PyPI
nvidia-cuda-runtime-cu11Provides CUDA 11 runtime native libraries for…
unclear · top 5,000 on PyPI
nvidia-cufile-cu12Provides Python bindings for NVIDIA's cuFile…
unclear · top 5,000 on PyPI