ComfyUI/comfy_api_nodes/util
Christian Byrne a9ab2b62da
[Partner Nodes] Stop adding an opaque alpha channel to API node images (#15369)
* Stop adding an opaque alpha channel to API node images

bytesio_to_image_tensor converted every downloaded image to RGBA, so nodes
whose API returns no transparency still emitted a 4 channel IMAGE. Keep the
alpha when the decoded image has one, stay RGB when it does not.

---------

Signed-off-by: bigcat88 <bigcat88@icloud.com>
Co-authored-by: bigcat88 <bigcat88@icloud.com>
2026-08-15 21:27:24 +04:00
..
__init__.py [Partner Nodes] Stop adding an opaque alpha channel to API node images (#15369) 2026-08-15 21:27:24 +04:00
_helpers.py [Partner Nodes] feat(client): send ComfyUI Job Id in request headers (#14934) 2026-07-15 16:38:03 +08:00
client.py [Partner Nodes] feat(credits): respect "X-Comfy-Credits-Used" header from the comfy-api (#15091) 2026-07-28 15:17:23 +03:00
common_exceptions.py feat(api-nodes): network client v2: async ops, cancellation, downloads, refactor (#10390) 2025-10-23 22:37:16 -07:00
conversions.py [Partner Nodes] Stop adding an opaque alpha channel to API node images (#15369) 2026-08-15 21:27:24 +04:00
download_helpers.py Add Comfy-Usage-Source pass-through for API node requests (#14404) 2026-06-12 09:20:44 +08:00
request_logger.py [Partner Nodes] fix(logs-auth): mask authorization headers in logs (#14774) 2026-07-05 13:55:29 +03:00
upload_helpers.py fix(Video): don't crash on videos with undecodable audio streams (#14746) 2026-07-07 15:59:49 +03:00
validation_utils.py [API Nodes]: fixes and refactor (#11104) 2025-12-04 14:05:28 -08:00