mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-08 05:12:35 +00:00
Added .webp .bmp
This commit is contained in:
@@ -12,7 +12,7 @@ def preprocess(process_src, process_dst, process_width, process_height, process_
|
||||
height = process_height
|
||||
src = os.path.abspath(process_src)
|
||||
dst = os.path.abspath(process_dst)
|
||||
extns = [".jpg",".jpeg",".png"]
|
||||
extns = [".jpg",".jpeg",".png",".webp",".bmp"]
|
||||
|
||||
assert src != dst, 'same directory specified as source and destination'
|
||||
|
||||
|
Reference in New Issue
Block a user