docs: def saveScreenCapture(self, path=None, name=None):
          """ Saves the region's bitmap """
          bitmap = self.getBitmap()
          target_file = None
          if path is None and name is None:
              _, target_file = tempfile.mkstemp(".png")
          elif name is None:
              _, tpath = tempfile.mkstemp(".png")
              target_file = os.path.join(path, tfile)
          else:
              target_file = os.path.join(path, name+".png")
          cv2.imwrite(target_file, bitmap)
          return target_file