      # Saving tasks
      def save(self, completion_event):
          """ Save the converted images """
          logger.debug("Save Images: Start")
          for _ in tqdm(range(self.total_count), desc="Converting", file=sys.stdout):
              if self.save_queue.shutdown.is_set():
                  logger.debug("Save Queue: Stop signal received. Terminating")
                  break
              item = self.save_queue.get()
              if item == "EOF":
 
</s> remove         logger.trace("Getting images: '%s'", imgpath)
 </s> add         logger.debug("Getting images: '%s'", imgpath) </s> remove         logger.trace("Loading preview image: (thumbnail_size: %s, frame_dims: %s)",
 </s> add         logger.debug("Loading preview image: (thumbnail_size: %s, frame_dims: %s)",
        write_preview = self.args.redirect_gui and self.writer.is_stream
        preview_image = os.path.join(self.writer.output_folder, ".gui_preview.jpg")
        logger.debug("Write preview for gui: %s", write_preview)
        for idx in tqdm(range(self.total_count), desc="Converting", file=sys.stdout):
      # Saving tasks
      def save(self, completion_event):
          """ Save the converted images """
          logger.debug("Save Images: Start")
        write_preview = self.args.redirect_gui and self.writer.is_stream
        preview_image = os.path.join(self.writer.output_folder, ".gui_preview.jpg")
        logger.debug("Write preview for gui: %s", write_preview)
        for idx in tqdm(range(self.total_count), desc="Converting", file=sys.stdout):
              if self.save_queue.shutdown.is_set():
                  logger.debug("Save Queue: Stop signal received. Terminating")
                  break
              item = self.save_queue.get()
              if item == "EOF":
keep keep keep keep replace keep keep keep keep keep
 GUI: Preview for convert

Display preview when outputting to a stream container (e.g. video, gif) 
scripts/convert.py