update presets performance and refactor class, plus change more icons
This commit is contained in:
9
check_image_size.py
Normal file
9
check_image_size.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from PIL import Image
|
||||
import os
|
||||
|
||||
icon_dir = 'assets/icons'
|
||||
for filename in os.listdir(icon_dir):
|
||||
if filename.endswith('.png'):
|
||||
path = os.path.join(icon_dir, filename)
|
||||
img = Image.open(path)
|
||||
print(f"{filename}: {img.size}")
|
||||
Reference in New Issue
Block a user