from PIL import Image # Create a new image with the specified dimensions img = Image.new('RGB', (1525, 1526), color='white') # Save the image img.save('white_image.png')