code: def topil(self, **kwargs):
          
          if self.has_preview():
              return pil_io.convert_image_data_to_pil(self._record, **kwargs)
          return None
docs: Get PIL Image.
  
          :return: :py:class:`PIL.Image`, or `None` if the composed image is not
              available.