How can I create an empty n*m PNG file in Python? April 30, 2023 by Tarik from PIL import Image image = Image.new('RGB', (n, m))