code: def screenshot_raw(self, includes='subtitles'):
          
          from PIL import Image
          res = self.node_command('screenshot-raw', includes)
          if res['format'] != 'bgr0':
              raise ValueError('Screenshot in unknown format "{}". Currently, only bgr0 is supported.'
                      .format(res['format']))
          img = Image.frombytes('RGBA', (res['w'], res['h']), res['data'])
          b,g,r,a = img.split()
          return Image.merge('RGB', (r,g,b))
docs: Mapped mpv screenshot_raw command, see man mpv(1). Returns a pillow Image object.