A nvImageCodec library of GPU- and CPU- accelerated codecs featuring a unified interface
APACHE-2.0 License
Published by mkhadatare 9 months ago
nvImageCodec Beta release (v0.2.0), an open-source library of accelerated codecs featuring a unified interface.
This release serves as a versatile framework for extension modules delivering powerful codec plugins.
This nvImageCodec release includes the following key features and enhancements:
NOTE: nvImageCodec builds for CUDA 12 dynamically link the CUDA toolkit. To use nvImageCodec, install the latest CUDA toolkit.
CUDA 11.0 and CUDA 12.0 builds use CUDA toolkit enhanced compatibility.
They are built with the latest CUDA 11.x/12.x toolkit respectively but they can run on the latest,
stable CUDA 11.0/CUDA 12.0 capable drivers (450.80 or later and 525.60 or later respectively).
However, using the most recent driver may enable additional functionality.
More details can be found in enhanced CUDA compatibility guide.
You can download and install the appropriate built binary packages from https://developer.nvidia.com/nvimgcodec-downloads
or
install nvImageCodec Python from PyPI as described below.
nvImageCodec Python for CUDA 12.x
pip install nvidia-nvimgcodec-cu12
nvImageCodec Python for CUDA 11.x
pip install nvidia-nvimgcodec-cu11
Optional installation of nvJPEG library
If you do not have CUDA Toolkit installed, or you would like to install nvJPEG library independently, you can use the instruction described below.
Install the nvidia-pyindex module
pip install nvidia-pyindex
Install nvJPEG for CUDA 12.x
pip install nvidia-nvjpeg-cu12
Install nvJPEG for CUDA 11.x
pip install nvidia-nvjpeg-cu11
nvImageCodec operates under the Apache 2.0 license.