Files
opencv-MIRROR/modules/imgcodecs/src
Matt Van Horn a6d466dcec Merge pull request #29407 from mvanhorn:fix/29365-imwrite-boolean-image-support
feat: support boolean (CV_Bool) images in imwrite - #29407

## Summary
`imwrite` failed on `CV_Bool` (boolean) images because no encoder handles that depth. This normalizes a boolean image to `CV_8U` (mapping true to 255) before encoding, so boolean masks can be written directly instead of requiring a manual `convertTo` at every call site.

Adds round-trip tests covering boolean-image encoding.

Fixes #29365

AI was used for assistance.
2026-08-26 12:10:29 +03:00
..
2025-09-26 12:10:49 +03:00
2026-02-14 15:37:33 +03:00
2016-07-08 16:08:55 +03:00
2026-04-24 11:11:26 +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