def get_image(self, source):
with NamedTemporaryFile(mode='<STR_LIT:wb>', delete=False) as fp:<EOL><INDENT>fp.write(source.read())<EOL><DEDENT>return {'<STR_LIT:source>': fp.name, '<STR_LIT>': OrderedDict(), '<STR_LIT:size>': None}<EOL>
Returns the backend image objects from a ImageFile instance