      def _refresh_display_callback(self, *args):
          """ Add a trace to refresh display on callback """
          if not self._refresh_display_trigger.get():
              return
          logger.trace("Refresh display trigger received: %s", args)
          self._reload()
  
      def _resize(self, event):
          """ Resize the image to fit the frame, maintaining aspect ratio """
          logger.trace("Resizing preview image")
 
</s> remove     def _resize(self, event):
 </s> add     def _resize(self, event: tk.Event) -> None: </s> remove     def _refresh_display_callback(self, *args):
 </s> add     def _refresh_display_callback(self, *args) -> None: </s> remove         logger.trace("Resizing preview image")
 </s> add         logger.trace("Resizing preview 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         logger.trace("Updated tk image")
 </s> add         logger.trace("Updated tk image")  # type: ignore
        logger.trace("Refresh display trigger received: %s", args)  # type: ignore
      def _refresh_display_callback(self, *args):
          """ Add a trace to refresh display on callback """
          if not self._refresh_display_trigger.get():
              return
        logger.trace("Refresh display trigger received: %s", args)  # type: ignore
          self._reload()
  
      def _resize(self, event):
          """ Resize the image to fit the frame, maintaining aspect ratio """
          logger.trace("Resizing preview image")
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