shibukawa / imagesize_py

MIT License
222 stars 43 forks source link

added support for webp files #52

Closed ExtReMLapin closed 2 years ago

ExtReMLapin commented 2 years ago

tested with this :

import imagesize
import glob

for file in glob.glob("*.webp"):
    width, height = imagesize.get(file)
    print(width, height)
 python.exe .\ebpsize.py
1300 864
1300 868
59136 3
1200 1800
2560 2098
5120 2
2560 2560
ExtReMLapin commented 2 years ago

M E R G E E R G E

I T T

dreamflasher commented 2 years ago

ping @shibukawa