mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-07-17 12:56:59 +08:00
Merge fecde26105e21cae3427fc3292c1e3e14f5a81fc into 519c9411653df99761053c30e101816e0ca3c24b
This commit is contained in:
commit
931bff4517
2
nodes.py
2
nodes.py
@ -1615,7 +1615,7 @@ class SaveImage:
|
|||||||
metadata.add_text(x, json.dumps(extra_pnginfo[x]))
|
metadata.add_text(x, json.dumps(extra_pnginfo[x]))
|
||||||
|
|
||||||
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
|
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
|
||||||
file = f"{filename_with_batch_num}_{counter:05}_.png"
|
file = f"{filename_with_batch_num}_{counter:05}.png"
|
||||||
img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=self.compress_level)
|
img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=self.compress_level)
|
||||||
results.append({
|
results.append({
|
||||||
"filename": file,
|
"filename": file,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user