#NEWLINE# def imread( self , filename , **kwargs ) : #NEWLINE# #INDENT# if ( imread is None ) : #NEWLINE# #INDENT# raise ImportError ( 'One of the following packages are required for using the ImageSequence reader: scipy, matplotlib or scikit-image.' ) #NEWLINE# #UNINDENT# if self . _is_zipfile : #NEWLINE# #INDENT# file_handle = BytesIO ( self . _zipfile . read ( filename ) ) #NEWLINE# return imread ( file_handle , ** kwargs ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return imread ( filename , ** kwargs )