#NEWLINE# def seek( self , page_number ) : #NEWLINE# #INDENT# self . file_object . seek ( 0 ) #NEWLINE# try : #NEWLINE# #INDENT# self . image = Image . open ( page_number . file_object ) #NEWLINE# #UNINDENT# except IOError : #NEWLINE# #INDENT# self . image = self . convert ( page_number = page_number ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . image . seek ( page_number ) #NEWLINE# self . image . load ( )