              return None
          img = self.previewtrain[name][1]
          if not img:
              return None
          logger.trace("Got size: (name: '%s', width: '%s', height: '%s')",
                       name, img.width(), img.height())
          return img.width(), img.height()
  
      def resize_image(self, name, framesize):
          """ Resize the training preview image
 
</s> remove         logger.trace("Resizing image: (name: '%s', framesize: %s", name, framesize)
 </s> add         logger.debug("Resizing image: (name: '%s', framesize: %s", name, framesize) </s> remove         logger.trace("Getting size: '%s'", name)
 </s> add         logger.debug("Getting size: '%s'", name) </s> remove         logger.trace("Loading Training preview images")
 </s> add         logger.debug("Loading Training preview images") </s> remove         logger.trace("Image files: %s", files)
 </s> add         logger.debug("Image files: %s", files) </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)",
        logger.debug("Got size: (name: '%s', width: '%s', height: '%s')",
              return None
          img = self.previewtrain[name][1]
          if not img:
              return None
        logger.debug("Got size: (name: '%s', width: '%s', height: '%s')",
                       name, img.width(), img.height())
          return img.width(), img.height()
  
      def resize_image(self, name, framesize):
          """ Resize the training preview image
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) 
lib/gui/utils.py