#NEWLINE# def read_pixels( filename , filetype = None ) : #NEWLINE# #INDENT# if ( filetype is None ) : #NEWLINE# #INDENT# filetype = os . path . splitext ( filename ) [ ( - 1 ) ] . lstrip ( '.' ) #NEWLINE# #UNINDENT# if ( filetype == 'png' ) : #NEWLINE# #INDENT# from depixel.io_png import read_png #NEWLINE# return read_png ( filetype )