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]: Choose Mask Color for Inpainting #7376

Closed
1 task done
NMNegative opened this issue Jan 29, 2023 · 6 comments
Closed
1 task done

[Feature Request]: Choose Mask Color for Inpainting #7376

NMNegative opened this issue Jan 29, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@NMNegative
Copy link

Is there an existing issue for this?

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

What would your feature do ?

Very simple (hopefully); when painting a mask using the mask tool it is always black paint, and on a dark image it is difficult to see where the mask is being painted / if you've missed any bits. A color picker like in the Sketch tool that does not actually effect the final result but makes painting a mask on a dark image more visible would be handy.

Proposed workflow

Visit the Inpainting Tool
As in the Sketch tool, click the color picker that changes the mask paint color.
Paint mask more visibly..

Additional information

No response

@NMNegative NMNegative added the enhancement New feature or request label Jan 29, 2023
@ClashSAN
Copy link
Collaborator

isnt this inpaint color sketch?

@NMNegative
Copy link
Author

isnt this inpaint color sketch?

No, as I understand it Inpaint Color Sketch takes the colors you paint on the image and does something with them that effects the new rendered image, all I am looking for is a mask tool that isn't always black for when you paint it on a dark image.

@ADITYA964
Copy link

ADITYA964 commented May 6, 2023

We need this feature for convenience of doing inpaint in black background. Facing the same problem!

@elisaado
Copy link

Would be a nice feature indeed, I have looked into this but could not find anything in the gradio documentation so I do not think this is possible with the normal tool="sketch".

@elisaado
Copy link

https://github.com/richrobber2/canvas-zoom This extension does exactly what is requested :)

@catboxanon
Copy link
Collaborator

Upstream improvements in Gradio and #12326 now implement this. Closing.

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

5 participants