Files
opencv-MIRROR/modules/imgcodecs/src
Kumataro 109ce5361d imgcodecs(jpegxl): preserve alpha channel on uniform opaque alpha with libjxl >= 0.13 (#31219)
* 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.
2026-11-30 15:56:17 +05:30
..
2016-07-08 16:08:55 +03:00
2025-01-03 14:29:18 +03:00
2022-01-03 15:08:10 +03:00
2014-07-07 16:28:08 +04:00