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