gradio icon indicating copy to clipboard operation
gradio copied to clipboard

Allow variation in stroke color, width, and opacity with Gradio sketch input

Open 1jsingh opened this issue 1 year ago • 2 comments

  • [x] I have searched to see if a similar issue already exists.

Is your feature request related to a problem? Please describe.
The current "sketch" inputs do not allow variation in stroke color, width, and opacity. This compatibility would allow for deploying gradio apps for a range of user-scribble based image synthesis and editing applications.

Describe the solution you'd like
Add support gradio sketch inputs to allow variation in stroke color, width and opacity.

Additional context
Please refer to https://github.com/1jsingh/paint2pix for an example app deployed with streamlit-drawable-canvas which performs image editing and synthesis from coarse user-scribbles. It would be great to have gradio support similar drawing capabilities to allow for a range of interactive image editing applications.

1jsingh avatar Aug 23 '22 07:08 1jsingh

add eyes on this issue. Also similar issue #2030

HuangChiEn avatar Aug 24 '22 02:08 HuangChiEn

@HuangChiEn This is being worked on along with all other Sketch related issues currently.

pngwn avatar Aug 24 '22 21:08 pngwn