stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Feature Request]: Inpaint color correct original image

Open Crisvirus opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

When using the inpaint color correction setting, it matches the inpainted area to the source image. However, sometimes it's useful (especially when inpainting "Not maked area") to use the generated image as source, and color match the part kept from the original image.

Proposed workflow

  1. Use img2img
  2. Use inpaint
  3. Have toggle "Match colors of the source image to those of the generated image.
  4. Generated image

Additional information

No response

Crisvirus avatar Jan 19 '24 16:01 Crisvirus

seems like something that can be easily implemented as an extension if

  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/14657

is merged

added to my ever growing to do list (no promises)

w-e-w avatar Jan 19 '24 20:01 w-e-w