From 25eb1e3d9072a060a253abce6889e7fef440dfe1 Mon Sep 17 00:00:00 2001 From: Robin Fernandes Date: Thu, 22 Sep 2022 20:54:50 +1000 Subject: Add option to save before color correction. Add suffix param when saving files, used for special saves without color correction and face restoration. --- modules/shared.py | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/shared.py') diff --git a/modules/shared.py b/modules/shared.py index 841a9877..0b57685e 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -139,6 +139,7 @@ class Options: "enable_pnginfo": OptionInfo(True, "Save text information about generation parameters as chunks to png files"), "add_model_hash_to_info": OptionInfo(False, "Add model hash to generation information"), "img2img_color_correction": OptionInfo(False, "Apply color correction to img2img results to match original colors."), + "save_images_before_color_correction": OptionInfo(False, "Save a copy of image before applying color correction to img2img results"), "img2img_fix_steps": OptionInfo(False, "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising)."), "enable_quantization": OptionInfo(False, "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply."), "font": OptionInfo("", "Font for image grids that have text"), -- cgit v1.2.3