* Don't use MCT with RGB in `encode_pixel_data()` * Remove `bytearray` as image data source in `encode_pixel_data()` and `encode_buffer()`
2.2.0
* Adds support for encoding bytes or bytearray * Fixes encoding using the JP2 format * Changes `nr_components` parameters to `samples_per_pixel` to be more in line with DICOM * Encoding with `compression_ratios=[1]` or `signal_noise_ratios=[0]` should now result in lossless encoding
2.1.1
* Fixes MacOS arm64 wheel builds
2.1.0
* Adds support for encoding a NumPy ndarray using JPEG 2000 lossy or lossless * Adds support for decoding JPEG 2000 images with up to 24 bit-depth
2.0.0
* Changed to v2.5.0 of OpenJPEG * Add support for decoding High Throughput J2K * Drop support for Python 3.7 * Add support for Python 3.11 and 3.12 * Add support for version 2 of the pixel data decoding interface * Add type hints * Move packaging and build system to pyproject.toml