Загрузка данных
from PIL import Image with Image.open("image.bmp") as img: print(f"Разрешение: {img.width} × {img.height} пикселей")