[Fixed] To skip images in the Save .* To Path nodes

When they are blocked
This commit is contained in:
Salvador E. Tropea
2025-12-30 13:47:10 -03:00
parent 7e5f7c3c0a
commit 0caf7f7177
+2
View File
@@ -352,6 +352,8 @@ def save_image(images, filenames, prompt=None, extra_pnginfo=None, compress_leve
all_preview_imgs = []
for index, (image, filename) in enumerate(zip(imgs, filenames)):
if filename is None:
continue
i = 255. * image.cpu().numpy()
img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8))
metadata = PngInfo()