          self._display = display
          self._lock = lock
          self._trigger = trigger
          self.current_config = config_tools.config
          self.converter_arguments = None  # Updated converter arguments dict
  
          configfile = arguments.configfile if hasattr(arguments, "configfile") else None
          self._converter = Converter(output_size=self._samples.predictor.output_size,
                                      coverage_ratio=self._samples.predictor.coverage_ratio,
                                      centering=self._samples.predictor.centering,
 
</s> remove         self._input_images = []
        self._predicted_images = []
 </s> add         self._input_images: List[ConvertItem] = []
        self._predicted_images: List[Tuple[ConvertItem, np.ndarray]] = [] </s> remove         self._faces = {}
        self._centering = None
        self._faces_source = None
        self._faces_dest = None
        self._tk_image = None
 </s> add         self._faces = _Faces()
        self._centering: Optional["CenteringType"] = None
        self._faces_source: np.ndarray = np.array([])
        self._faces_dest: np.ndarray = np.array([])
        self._tk_image: Optional[PhotoImage] = None </s> remove     def _get_frame_ranges(self):
 </s> add     def _get_frame_ranges(self) -> Optional[List[Tuple[int, int]]]: </s> remove         retval = None if test is None else self._writer.pre_encode
 </s> add         retval: Optional[Callable[[np.ndarray],
                                  List[bytes]]] = None if test is None else self._writer.pre_encode </s> remove         postprocess_items = {}
 </s> add         postprocess_items: Dict[str, Optional[Dict[str, Union[tuple, dict]]]] = {}
        self.converter_arguments: Optional[Dict[str, Any]] = None  # Updated converter args dict
          self._display = display
          self._lock = lock
          self._trigger = trigger
          self.current_config = config_tools.config
        self.converter_arguments: Optional[Dict[str, Any]] = None  # Updated converter args dict
  
          configfile = arguments.configfile if hasattr(arguments, "configfile") else None
          self._converter = Converter(output_size=self._samples.predictor.output_size,
                                      coverage_ratio=self._samples.predictor.coverage_ratio,
                                      centering=self._samples.predictor.centering,
keep keep keep keep replace keep keep keep keep keep
 Bugfix: convert - Gif Writer
  - Fix non-launch error on Gif Writer
  - convert plugins - linting
  - convert/fs_media/preview/queue_manager - typing
  - Change convert items from dict to Dataclass 
tools/preview/preview.py