          self._build_faces_image()
          img = np.vstack((self._faces_source, self._faces_dest))
          size = self._get_scale_size(img)
          img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
          img = Image.fromarray(img)
          img = img.resize(size, Image.ANTIALIAS)
          self._tk_image = ImageTk.PhotoImage(img)
          self._tk_vars["refresh"].set(False)
          logger.trace("Updated tk image")
  
      def _get_scale_size(self, image):
          """ Get the size that the full preview image should be resized to fit in the
 
</s> remove         logger.trace("Updated tk image")
 </s> add         logger.trace("Updated tk image")  # type: ignore </s> remove         logger.trace("Updating tk image")
 </s> add         logger.trace("Updating tk image")  # type: ignore </s> remove     def _get_scale_size(self, image):
 </s> add     def _get_scale_size(self, image: np.ndarray) -> Tuple[int, int]: </s> remove     def update_tk_image(self):
 </s> add     def update_tk_image(self) -> None: </s> remove         logger.trace("Resizing preview image")
 </s> add         logger.trace("Resizing preview image")  # type: ignore
        pilimg = Image.fromarray(img)
        pilimg = pilimg.resize(size, Image.ANTIALIAS)
        self._tk_image = ImageTk.PhotoImage(pilimg)
          self._build_faces_image()
          img = np.vstack((self._faces_source, self._faces_dest))
          size = self._get_scale_size(img)
          img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
        pilimg = Image.fromarray(img)
        pilimg = pilimg.resize(size, Image.ANTIALIAS)
        self._tk_image = ImageTk.PhotoImage(pilimg)
        pilimg = Image.fromarray(img)
        pilimg = pilimg.resize(size, Image.ANTIALIAS)
        self._tk_image = ImageTk.PhotoImage(pilimg)
        pilimg = Image.fromarray(img)
        pilimg = pilimg.resize(size, Image.ANTIALIAS)
        self._tk_image = ImageTk.PhotoImage(pilimg)
          self._tk_vars["refresh"].set(False)
          logger.trace("Updated tk image")
  
      def _get_scale_size(self, image):
          """ Get the size that the full preview image should be resized to fit in the
keep keep keep keep replace replace 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