Added .webp .bmp

This commit is contained in:
alg-wiki
2022-10-11 06:33:08 +09:00
parent f0ab972f85
commit 907a88b2d0
3 changed files with 3 additions and 3 deletions

View File

@@ -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'