          if not img:
              return None
          return img.width(), img.height()
  
      def resize_image(self, name, framesize):
          """ Resize the training preview image
              based on the passed in frame size """
 
</s>
        logger.debug("Got size: (name: '%s', width: '%s', height: '%s')",
                     name, img.width(), img.height())
          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
              based on the passed in frame size """
keep add keep keep keep keep keep
 Add right click menu to GUI. Implement some GUI Logging
lib/gui/utils.py