docs: def toPIL(self, **attribs):
          """
          Convert canvas to a PIL image
          """
          import PIL.Image
          bytes = self.convert("png")
          sfile = io.BytesIO(bytes)
          pil = PIL.Image.open(sfile)
          return pil