mirror of
https://github.com/opencv/opencv.git
synced 2026-12-02 13:16:32 -06:00
* imgcodecs(jpegxl): preserve alpha channel on uniform opaque alpha with libjxl >= 0.13 Starting with libjxl 0.13.0 (libjxl/libjxl#4981), the default frame setting strips alpha channels when all pixels are opaque during lossy encoding, turning 4-channel input images into 3 channels on decode. Set JXL_ENC_FRAME_SETTING_STRIP_ALPHA to 0 when building against libjxl 0.13.0 or later to keep 4 channels intact, and add parameterized tests covering 8U/16U/32F, transparent/opaque alpha, and quality 95/100. * Update warning message to be human readable.