from PIL import Image # Load the image to check its current resolution and prepare it for resizing. img_path = '/mnt/data/화면 캡처 2024-09-21 191439.png' img = Image.open(img_path) # Show the image information img.size