mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-16 01:36:41 +08:00
Image
This commit is contained in:
parent
b92df4241c
commit
952340d5e7
@ -330,7 +330,7 @@ class PromptServer():
|
|||||||
else:
|
else:
|
||||||
print("image_save_function is None")
|
print("image_save_function is None")
|
||||||
# 使用 PIL 打开上传的图片流
|
# 使用 PIL 打开上传的图片流
|
||||||
img = PILImage.open(image.file)
|
img = Image.open(image.file)
|
||||||
# 使用被你的插件修改过的 save 方法进行保存,这将触发加密
|
# 使用被你的插件修改过的 save 方法进行保存,这将触发加密
|
||||||
img.save(filepath)
|
img.save(filepath)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user