mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-23 20:17:57 +08:00
#encrpyt before save
This commit is contained in:
parent
c6df3229d9
commit
c8c9f9db99
3
nodes.py
3
nodes.py
@ -1594,6 +1594,9 @@ class SaveImage:
|
|||||||
|
|
||||||
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"
|
||||||
|
|
||||||
|
#encrpyt before save
|
||||||
|
|
||||||
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