              self._writer = self._get_writer(input_dims)
          self.cache_frame(filename, image)
          self._save_from_cache()
  
      def _set_dimensions(self, frame_dims: Tuple[int]) -> None:
          """ Set the attribute :attr:`_output_dimensions` based on the first frame received.
          This protects against different sized images coming in and ensures all images are written
          to ffmpeg at the same size. Dimensions are mapped to a macro block size 8.
  
          Parameters
 
</s> remove     def _set_dimensions(self, frame_dims: str) -> None:
 </s> add     def _set_dimensions(self, frame_dims: Tuple[int, int]) -> None: </s> remove             input_dims = image.shape[:2]
 </s> add             input_dims = cast(Tuple[int, int], image.shape[:2]) </s> remove     def set_centering(self, centering):
 </s> add     def set_centering(self, centering: "CenteringType") -> None: </s> remove     def _total_columns(self):
        """ Return the total number of images that are being displayed """
 </s> add     def _total_columns(self) -> int:
        """ int: The total number of images that are being displayed """ </s> remove     def _load_frames(self):
 </s> add     def _load_frames(self) -> None:
    def _set_dimensions(self, frame_dims: Tuple[int, int]) -> None:
              self._writer = self._get_writer(input_dims)
          self.cache_frame(filename, image)
          self._save_from_cache()
  
    def _set_dimensions(self, frame_dims: Tuple[int, int]) -> None:
          """ Set the attribute :attr:`_output_dimensions` based on the first frame received.
          This protects against different sized images coming in and ensures all images are written
          to ffmpeg at the same size. Dimensions are mapped to a macro block size 8.
  
          Parameters
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 
plugins/convert/writer/ffmpeg.py