def extractImage(self, xref=<NUM_LIT:0>):
if self.isClosed or self.isEncrypted:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>return _fitz.Document_extractImage(self, xref)<EOL>
Extract image which 'xref' is pointing to.