Files
ComfyUI/tests-unit
Glary-Bot c87bf86e57 Fix the RGB/YUV conversion nodes on images with an alpha channel
kornia's rgb_to_ycbcr only accepts 3 channel input, so Image RGB to YUV
raised a ValueError on a 4 channel image. Image YUV to RGB did not raise but
averaged the alpha channel into its per-channel mean, skewing the result.
Convert using the colour channels in both directions.

CORE-393
2026-08-17 00:59:32 +00:00
..

Pytest Unit Tests

Install test dependencies

pip install -r tests-unit/requirements.txt

Run tests

pytest tests-unit/