          self._config_tools = config_tools
  
          super().__init__(parent)
          self.pack(side=tk.LEFT, anchor=tk.N, fill=tk.Y)
          self._options = ["color", "mask_type", "scaling"]
          self._busy_tkvar = tk_vars["busy"]
          self._tk_vars = dict()
  
          d_locals = locals()
          defaults = {opt: self._format_to_display(d_locals["selected_{}".format(opt)])
 
</s> remove                      selected_mask_type, selected_scaling, patch_callback, refresh_callback,
                     tk_vars)
 </s> add                      selected_mask_type, patch_callback, refresh_callback, tk_vars) </s> remove         self._adjustments = dict(box=None, mask=None, color=None, seamless=None, scaling=None)
 </s> add         self._adjustments = dict(box=None, mask=None, color=None, seamless=None, sharpening=None) </s> remove         if self._adjustments["scaling"] is not None:
            new_image = self._adjustments["scaling"].run(new_image)
 </s> add         if self._adjustments["sharpening"] is not None:
            new_image = self._adjustments["sharpening"].run(new_image) </s> remove                      "selected_color: %s, selected_mask_type: %s, selected_scaling: %s, "
                     "patch_callback: %s, refresh_callback: %s, tk_vars: %s)",
 </s> add                      "selected_color: %s, selected_mask_type: %s, patch_callback: %s, "
                     "refresh_callback: %s, tk_vars: %s)", </s> remove         if self._args.scaling != "none" and self._args.scaling is not None:
            self._adjustments["scaling"] = PluginLoader.get_converter(
                "scaling",
                self._args.scaling,
                disable_logging=disable_logging)(configfile=self._configfile, config=config)
 </s> add         sharpening = PluginLoader.get_converter(
            "scaling",
            "sharpen",
            disable_logging=disable_logging)(configfile=self._configfile, config=config)
        if sharpening.config.get("method", None) is not None:
            self._adjustments["sharpening"] = sharpening
        self._options = ["color", "mask_type"]
          self._config_tools = config_tools
  
          super().__init__(parent)
          self.pack(side=tk.LEFT, anchor=tk.N, fill=tk.Y)
        self._options = ["color", "mask_type"]
          self._busy_tkvar = tk_vars["busy"]
          self._tk_vars = dict()
  
          d_locals = locals()
          defaults = {opt: self._format_to_display(d_locals["selected_{}".format(opt)])
keep keep keep keep replace keep keep keep keep keep
 Convert - Move scaling option exclusively to config 
tools/preview/preview.py