''' Purpose: display a blank image of appropriate size ''' from PIL import Image # specify background color RGB_ALICE_BLUE = ( 240, 248, 255 ) # get desired width and height reply = input( "Enter width and height of interest: " ) w, h = reply.split() w, h = int( w ), int( h ) # specify image dimension size = ( w, h ) # get appropriately sized and colored image img = Image.new( "RGB", size, RGB_ALICE_BLUE ) # show image img.show()