          tuple
              The OpenCV specific arguments for the selected file format
           """
          filetype = self.config["format"]
          args: Tuple[int, ...] = tuple()
          if filetype == "jpg" and self.config["jpg_quality"] > 0:
              args = (cv2.IMWRITE_JPEG_QUALITY,
                      self.config["jpg_quality"])
          if filetype == "png" and self.config["png_compress_level"] > -1:
              args = (cv2.IMWRITE_PNG_COMPRESSION,
 
</s> remove         actions: List["PostProcessAction"] = []
 </s> add         actions: list["PostProcessAction"] = [] </s> remove     def _get_save_args(self) -> Tuple[int, ...]:
 </s> add     def _get_save_args(self) -> tuple[int, ...]: </s> remove                  name: Optional[str] = None,
                 args: Optional[Tuple] = None,
                 kwargs: Optional[Dict[str, Any]] = None) -> None:
 </s> add                  name: str | None = None,
                 args: tuple | None = None,
                 kwargs: dict[str, T.Any] | None = None) -> None: </s> remove         samples: List[np.ndarray] = []
 </s> add         samples: list[np.ndarray] = [] </s> remove         kwargs = dict(title=f"{action.title()} Preset...",
                      initial_folder=self._preset_path,
                      parent=self._parent)
 </s> add         kwargs = {"title": f"{action.title()} Preset...",
                  "initial_folder": self._preset_path,
                  "parent": self._parent}
        args: tuple[int, ...] = tuple()
          tuple
              The OpenCV specific arguments for the selected file format
           """
          filetype = self.config["format"]
        args: tuple[int, ...] = tuple()
          if filetype == "jpg" and self.config["jpg_quality"] > 0:
              args = (cv2.IMWRITE_JPEG_QUALITY,
                      self.config["jpg_quality"])
          if filetype == "png" and self.config["png_compress_level"] > -1:
              args = (cv2.IMWRITE_PNG_COMPRESSION,
keep keep keep keep replace keep keep keep keep keep
 Rebase code (#1326)

* Remove tensorflow_probability requirement

* setup.py - fix progress bars

* requirements.txt: Remove pre python 3.9 packages

* update apple requirements.txt

* update INSTALL.md

* Remove python<3.9 code

* setup.py - fix Windows Installer

* typing: python3.9 compliant

* Update pytest and readthedocs python versions

* typing fixes

* Python Version updates
  - Reduce max version to 3.10
  - Default to 3.10 in installers
  - Remove incompatible 3.11 tests

* Update dependencies

* Downgrade imageio dep for Windows

* typing: merge optional unions and fixes

* Updates
  - min python version 3.10
  - typing to python 3.10 spec
  - remove pre-tf2.10 code
  - Add conda tests

* train: re-enable optimizer saving

* Update dockerfiles

* Update setup.py
  - Apple Conda deps to setup.py
  - Better Cuda + dependency handling

* bugfix: Patch logging to prevent Autograph errors

* Update dockerfiles

* Setup.py - Setup.py - stdout to utf-8

* Add more OSes to github Actions

* suppress mac-os end to end test 
plugins/convert/writer/opencv.py