* 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
* Update dependencies to allow numpy > v2.0 * Tests updated to use `pydicom.pixels`
2.1.0
* Use `libjpeg` v1.67 * Fixes a decoding failure for JPEG 10918 files with an Adobe v101 APP14 marker