{"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.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install nvidia-nvimgcodec-cu12"],"cli":null},"imports":["import nvimgcodec"],"auth":{"required":false,"env_vars":[]},"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.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}