8 lines of python code to convert webp to jpg format pictures (under the same path)
編輯:Python
from os import *
from PIL import Image
import glob
for f in glob.glob(path.join('.\\','*.webp')):
img = Image.open(f)
img.load(),img.save(f[0:-5] + ".jpg")
remove(f)
8行代碼,I don't think can streamline again,You if there is way to streamline,可以評論告訴我