          self.output_dir = output_dir
          self.draw_transparent = draw_transparent
          self.writer_pre_encode = pre_encode
          self.scale = arguments.output_scale / 100
          self.args = arguments
          self.adjustments = dict(box=None, mask=None, color=None, seamless=None, scaling=None)
          self.load_plugins()
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def reinitialize(self, config):
 
</s> remove         self.load_plugins(output_size, output_has_mask)
 </s> add         self.load_plugins() </s> remove     def load_plugins(self, output_size, output_has_mask):
        """ Load the requested adjustment plugins """
        logger.debug("Loading plugins")
        self.adjustments["box"] = PluginLoader.get_converter("mask", "box_blend")(
            "none",
            output_size)
 </s> add     def reinitialize(self, config):
        """ reinitialize converter """
        logger.debug("Reinitializing converter")
        self.adjustments = dict(box=None, mask=None, color=None, seamless=None, scaling=None)
        self.load_plugins(config=config, disable_logging=True)
        logger.debug("Reinitialized converter")
        self.output_size = output_size
        self.output_has_mask = output_has_mask
          self.output_dir = output_dir
          self.draw_transparent = draw_transparent
          self.writer_pre_encode = pre_encode
          self.scale = arguments.output_scale / 100
        self.output_size = output_size
        self.output_has_mask = output_has_mask
          self.args = arguments
          self.adjustments = dict(box=None, mask=None, color=None, seamless=None, scaling=None)
          self.load_plugins()
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def reinitialize(self, config):
keep keep keep add keep keep keep keep keep keep
 Convert settings tool (#737)

* Initial prediction pipeline and display

* Patch faces from convert pipeline. Load configs

* Add tkinter canvas for image display

* Radio buttons to config gui. Standardise config gui. Remove dssim loss from realface

* Add action frame

* Live update cli options

* Live update config changes

* Quicker frame loading. Refresh faces button callback

* remove debug code

* Add saving and reloading config buttons

* Reduce lag with threading

* Busy indicator + geometry updates

* Fix options canvas resizing

* Add global config saving and resetting

* tools to own tab

* Rename tool to 'preview'

* geometry tweak

* pep8 fixes 
lib/convert.py