          filename: str
              The input frame filename to generate the output file name for
  
          Returns
          -------
          list
              The full path for the output converted frame to be saved to in position 1. The full
 
</s> remove     def cache_frame(self, filename, image) -> None:
 </s> add         logger.trace("in filename: '%s', out filename: '%s'", filename, retval)  # type:ignore
        return retval

    def cache_frame(self, filename: str, image: np.ndarray) -> None: </s> remove     def get_save_args(self):
        """ Return the save parameters for the file format """
 </s> add     def _get_save_args(self) -> Tuple[int, ...]:
        """ Obtain the save parameters for the file format.

        Returns
        -------
        tuple
            The OpenCV specific arguments for the selected file format
         """ </s> remove         self.format_dict = dict(jpg="JPEG", jp2="JPEG 2000", tif="TIFF")
        self.kwargs = self.get_save_kwargs()
 </s> add         self._format_dict = dict(jpg="JPEG", jp2="JPEG 2000", tif="TIFF")
        self._separate_mask = self.config["draw_transparent"] and self.config["separate_mask"]
        self._kwargs = self._get_save_kwargs()
        separate_mask: bool, optional
            ``True`` if the mask should be saved out to a sub-folder otherwise ``False``
          filename: str
              The input frame filename to generate the output file name for
        separate_mask: bool, optional
            ``True`` if the mask should be saved out to a sub-folder otherwise ``False``
  
          Returns
          -------
          list
              The full path for the output converted frame to be saved to in position 1. The full
keep add keep keep keep keep keep
 Convert: Add option to output mask separately for draw-transparent 
plugins/convert/writer/_base.py