সম্পাদনা
from PIL import Image data = bytes([255, 0, 0]) * 100 image = Image.frombytes("RGB", (10, 10), data) print(image.size)
পূর্বরূপ