mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-24 07:57:29 +08:00
PIL.Image.fromarray accepts 2-channel (LA mode) arrays as well, not just 1/3/4-channel. Reword the inline comments and test docstrings to say 'rejects > 4-channel arrays', which is the actual constraint driving the cap. Also drop a too-narrow 'mode in (L, RGB, RGBA)' assertion in test_save_compatible_output_passes_through_pil so a future 2-channel result would not be flagged as a failure. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| image_blend_test.py | ||
| image_blend_workflow_test.py | ||
| image_stitch_test.py | ||
| nodes_math_test.py | ||
| nodes_number_convert_test.py | ||