Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Option to save original mask image when inpainting #15840

Open
1 task done
Drake53 opened this issue May 19, 2024 · 0 comments
Open
1 task done

[Feature Request]: Option to save original mask image when inpainting #15840

Drake53 opened this issue May 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Drake53
Copy link

Drake53 commented May 19, 2024

Is there an existing issue for this?

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

What would your feature do ?

To be able to reproduce results, there should be an option to save the original mask image, which can later be used in the inpaint upload tab.
Currently there is already an option save_mask (For inpainting, save a copy of the greyscale mask). However, this option only saves the processed mask.

Originally, this wasn't much of an issue because the only processing applied to the mask was the mask blur. To reproduce a result, you could simply use the already-blurred mask in inpaint upload and then simply set mask blur 0 to to prevent the mask from being blurred twice.
However, with the introduction of soft inpainting, this approach no longer works, because for every seed/result there will be a different mask image.

Optionally, this original mask image could be saved only once prior to generating results, similar to init images.

Proposed workflow

Add an option in settings > saving images/grids, the description could be something like For inpainting, save a copy of the original mask.

Additional information

No response

@Drake53 Drake53 added the enhancement New feature or request label May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant