#NEWLINE# def gen_image( self , size , color ) : #NEWLINE# #INDENT# if ( color == 'transparent' ) : #NEWLINE# #INDENT# color = None #NEWLINE# #UNINDENT# img = Image . new ( 'RGBA' , size , color ) #NEWLINE# return img