{"id":27191,"library":"nvidia-nvimgcodec-cu12","title":"NVIDIA nvImageCodec CUDA 12","description":"NVIDIA nvImageCodec provides accelerated image encoding and decoding using GPU hardware on CUDA 12 systems. Version 0.8.0.22 is the latest beta release, with a focus on JPEG, JPEG2000, and other formats. The library is under active development with beta releases every few months.","status":"active","version":"0.8.0.22","language":"python","source_language":"en","source_url":"https://github.com/NVIDIA/nvImageCodec","tags":["nvidia","image","codec","gpu","cuda","decoding","encoding"],"install":[{"cmd":"pip install nvidia-nvimgcodec-cu12","lang":"bash","label":"CUDA 12 variant"}],"dependencies":[{"reason":"Required runtime for CUDA 12.","package":"nvidia-cuda-runtime-cu12","optional":false},{"reason":"Required for GPU memory management and tensor conversion.","package":"cupy-cuda12x","optional":true}],"imports":[{"wrong":"import nvimgcodec","symbol":"nvimgcodec","correct":"from nvidia import nvimgcodec"}],"quickstart":{"code":"import nvimgcodec\nimport numpy as np\n\n# Create encoder/decoder instance\ndecoder = nvimgcodec.Decoder()\n\n# Open an image file\nimg = decoder.read('example.jpg')\nprint(f\"Image shape: {img.shape}\")","lang":"python","description":"Load and decode an image using nvImageCodec."},"warnings":[{"fix":"Pin version and test upgrades.","message":"The package is beta (v0.8.0.22). API may change without notice in future releases.","severity":"deprecated","affected_versions":"all"},{"fix":"Use the appropriate CUDA variant package (e.g., nvidia-nvimgcodec-cu11 for CUDA 11).","message":"Only CUDA 12 is supported. Do not install on CUDA 11 systems or older.","severity":"gotcha","affected_versions":"all"},{"fix":"Use 'import nvimgcodec' instead of old 'import nvImageCodecs'.","message":"The library name changed from 'nvImageCodecs' to 'nvimgcodec' in v0.6.0. Import paths changed accordingly.","severity":"breaking","affected_versions":"<0.6.0"}],"env_vars":null,"search_vec":"'0.8.0.22':21 '12':4,18 'acceler':8 'activ':40 'beta':25,43 'codec':50 'cuda':3,17,52 'decod':12,53 'develop':41 'encod':10,54 'everi':45 'focus':29 'format':35 'gpu':14,51 'hardwar':15 'imag':9,49 'jpeg':31 'jpeg2000':32 'latest':24 'librari':37 'month':47 'nvidia':1,5,48 'nvimagecodec':2,6 'provid':7 'releas':26,44 'system':19 'use':13 'version':20","created_at":"2026-05-01T17:44:59.497345+00:00","updated_at":"2026-05-01T17:44:59.497345+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":"https://developer.nvidia.com/nvimagecodec","github":"https://github.com/NVIDIA/nvImageCodec","docs":null,"changelog":null,"pypi":"https://pypi.org/project/nvidia-nvimgcodec-cu12/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["ai-ml","data"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}