code: def postprocess_image(self, p, script_pp, *args):
      args_dict = dict(zip(self.postprocessing_controls, args))
  
      pp = scripts_postprocessing.PostprocessedImage(script_pp.image)
      pp.info = {}
      self.script.process(pp, **args_dict)
      p.extra_generation_params.update(pp.info)
      script_pp.image = pp.image
  
file_path: stable-diffusion-webui/modules/scripts_auto_postprocessing.py
imports: from modules import scripts, scripts_postprocessing, shared
label_desc: Use image node_id 5 for calling the ScriptPostprocessingForMainUI obj's underlying member method code with example usage: obj.postprocess_image(p, script_pp) without return types