or channel == 'rgba':

This commit is contained in:
bilt 2025-07-06 06:58:39 +08:00
parent f843b344af
commit f98bfe47b7

View File

@ -447,7 +447,7 @@ class PromptServer():
print(f"*** channel: {channel}")
if channel == 'rgb':
if channel == 'rgb' or channel == 'rgba': #TODO test
with Image.open(file) as img:
if img.mode == "RGBA":
r, g, b, a = img.split()