From 5cca14c7982acb301ef34e20a934eda93ddc7c9d Mon Sep 17 00:00:00 2001 From: Yousef Rafat <81116377+yousef-rafat@users.noreply.github.com> Date: Wed, 29 Apr 2026 15:07:35 +0300 Subject: [PATCH] quick fix for alpha --- comfy_extras/nodes_images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy_extras/nodes_images.py b/comfy_extras/nodes_images.py index 84d15639b..bb8d31db4 100644 --- a/comfy_extras/nodes_images.py +++ b/comfy_extras/nodes_images.py @@ -1108,7 +1108,7 @@ class SaveImageAdvanced(IO.ComfyNode): is_planar = av_fmt.startswith('gbrp') or 'p' in av_fmt.split('rgba')[-1] if is_planar: - if av_fmt.startswith('gbrp'): + if av_fmt.startswith('gbr'): img_np = img_np[:, :, [1, 2, 0, 3]] if has_alpha else img_np[:, :, [1, 2, 0]] img_np = img_np.transpose(2, 0, 1)