MCPcopy Create free account
hub / github.com/AUTOMATIC1111/stable-diffusion-webui / postprocess_image

Method postprocess_image

modules/scripts.py:908–914  ·  view source on GitHub ↗
(self, p, pp: PostprocessImageArgs)

Source from the content-addressed store, hash-verified

906 errors.report(f"Error running post_sample: {script.filename}", exc_info=True)
907
908 def postprocess_image(self, p, pp: PostprocessImageArgs):
909 for script in self.ordered_scripts('postprocess_image'):
910 try:
911 script_args = p.script_args[script.args_from:script.args_to]
912 script.postprocess_image(p, pp, *script_args)
913 except Exception:
914 errors.report(f"Error running postprocess_image: {script.filename}", exc_info=True)
915
916 def postprocess_maskoverlay(self, p, ppmo: PostProcessMaskOverlayArgs):
917 for script in self.ordered_scripts('postprocess_maskoverlay'):

Callers

nothing calls this directly

Calls 2

ordered_scriptsMethod · 0.95
postprocess_imageMethod · 0.45

Tested by

no test coverage detected