mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-16 22:46:38 +08:00
The composite added a 3 channel overlay to the full input tensor, so a 4 channel image raised a RuntimeError. Composite RGBA input with premultiplied source over, matching SRC_OVER in porter_duff_composite. Text drawn over a transparent region now gains its own coverage instead of vanishing, and the undefined colour under a transparent pixel no longer darkens antialiased glyph edges. The 3 channel path is unchanged. CORE-393
Pytest Unit Tests
Install test dependencies
pip install -r tests-unit/requirements.txt
Run tests
pytest tests-unit/