{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"},{"label":"Medical Science Apps.","url":"https://skillfed.io/packages/category/scientific-engineering-medical-science-apps"}],"enrichment":{"capability":"Decodes and encodes JPEG 2000 images to and from NumPy arrays, with built-in support for use as a pylibjpeg plugin for DICOM image decompression.","skillfed_tags":["medical-imaging","jpeg2000","dicom"],"use_cases":["Decompress JPEG 2000\u2013encoded DICOM medical images in pydicom workflows without external tools.","Batch convert JPEG 2000 image files to NumPy arrays for scientific or medical image analysis.","Encode medical or scientific imaging data to lossless JPEG 2000 for archival or transmission.","Lossy compression of large grayscale or multispectral images using compression ratios or quality targets.","Integrate JPEG 2000 support into image processing pipelines that already use NumPy and pydicom."],"what_it_does":"pylibjpeg-openjpeg is a Python wrapper around the OpenJPEG library that adds JPEG 2000 image codec support to Python. It can decode JPEG 2000 files (including High-Throughput variants) into NumPy arrays and encode NumPy arrays back into JPEG 2000 format with both lossless and lossy compression options. The package is designed primarily as a plugin for pylibjpeg, which integrates it into pydicom workflows for reading DICOM files compressed with JPEG 2000 codecs, but it also works standalone for direct image encoding and decoding.\n\nThe package supports a range of NumPy dtypes (bool, int8, uint8, int16, uint16, int32, uint32) and array shapes (grayscale, RGB, and 4-channel), with configurable compression via compression ratios or peak signal-to-noise ratios for lossy encoding. Installation uses prebuilt wheels for common platforms and Python versions, though building from source requires CMake and a C++ compiler.","worth_installing":"Yes, if you need JPEG 2000 codec support in Python\u2014particularly for DICOM workflows via pydicom. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and offers prebuilt wheels for most platforms. Install friction is moderate due to compiled dependencies, but wheels eliminate build requirements for standard environments. Not necessary if you only work with standard JPEG or PNG formats."},"id":"pylibjpeg-openjpeg","links":{"html":"https://skillfed.io/packages/pylibjpeg-openjpeg","md":"https://skillfed.io/packages/pylibjpeg-openjpeg.md","pypi":"https://pypi.org/project/pylibjpeg-openjpeg/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-08-19","license_spdx":null,"license_treatment":"permissive","name":"pylibjpeg-openjpeg","python_support":"supports_current","summary":"A Python wrapper for openjpeg, with a focus on use as a plugin for for pylibjpeg"},"popularity":{"monthly_downloads":225091,"position":9228,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.5.0"}
