Is there an existing issue for this?
What happened?
I have --gradio-img2img-tool color-sketch on set COMMANDLINE_ARGS=
When I press the "send to img2img" button, the image in the img2img tab appears and after 1 second becomes a solid color.

Removing --gradio-img2img-tool color-sketch from set COMMANDLINE_ARGS= makes the send to img2img button works properly and the image appears as it should.

But, If I open an image directly on img2img tab, I can use the "paint tool" without a problem.
It only happens with --gradio-img2img-tool color-sketch and using the send to img2img button.

A second bug (not related with --gradio-img2img-tool color-sketch ARG) occurs on inpaint tab. it doubles the image after I start painting the mask.


The third bug (not related with --gradio-img2img-tool color-sketch ARG):
None of the "send to.." buttons of Image browser extension works. they send the image info but not the image.
Steps to reproduce the problem
Send to img2img button bug:
-
Add --gradio-img2img-tool color-sketch to "set COMMANDLINE_ARGS="
-
Run the WebUI
-
Generate an image on txt2image
-
Click on "send to img2img"
-
Image will break after 1 second.
-
Remove --gradio-img2img-tool color-sketch from "set COMMANDLINE_ARGS="
-
Run the WebUI
-
Generate an image on txt2image
-
Click on "send to img2img"
-
Image appears as it should.
Inpaint tab bug (not related with --gradio-img2img-tool color-sketch ARG):
- Generate an image on txt2image
- Click on "send to Inpaint"
- Image appears as it should.
- Start Painting a mask.
- Image gets resized and doubled.
Image browser extension (not related to --gradio-img2img-tool color-sketch ARG):
- Open "browser Extension" tab
- Select an image
- click on any of the "send to..." buttons
What should have happened?
Images appearing as they should on img2img with the --gradio-img2img-tool color-sketch argument active and using the send to img2img button.
Inpaint without a double
Image Browser "send to..." buttons to send images to destination.
Commit where the problem happens
310b71f
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
--precision full --no-half --no-half-vae --medvram --opt-split-attention --xformers --opt-channelslast --api --deepdanbooru --gradio-img2img-tool color-sketch --theme=dark --autolaunch
--gradio-img2img-tool color-sketch breaking the send to img2img button
Additional information, context and logs
Google chrome console Log after Using "send to img2img" from txt2img
Sketch.svelte:119 Uncaught DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
at HTMLImageElement.<anonymous> (http://127.0.0.1:7860/assets/index.eee29f42.js:1:8332)
(anonymous) @ Sketch.svelte:119
Is there an existing issue for this?
What happened?
I have --gradio-img2img-tool color-sketch on set COMMANDLINE_ARGS=
When I press the "send to img2img" button, the image in the img2img tab appears and after 1 second becomes a solid color.
Removing --gradio-img2img-tool color-sketch from set COMMANDLINE_ARGS= makes the send to img2img button works properly and the image appears as it should.
But, If I open an image directly on img2img tab, I can use the "paint tool" without a problem.
It only happens with --gradio-img2img-tool color-sketch and using the send to img2img button.
A second bug (not related with --gradio-img2img-tool color-sketch ARG) occurs on inpaint tab. it doubles the image after I start painting the mask.
The third bug (not related with --gradio-img2img-tool color-sketch ARG):
None of the "send to.." buttons of Image browser extension works. they send the image info but not the image.
Steps to reproduce the problem
Add --gradio-img2img-tool color-sketch to "set COMMANDLINE_ARGS="
Run the WebUI
Generate an image on txt2image
Click on "send to img2img"
Image will break after 1 second.
Remove --gradio-img2img-tool color-sketch from "set COMMANDLINE_ARGS="
Run the WebUI
Generate an image on txt2image
Click on "send to img2img"
Image appears as it should.
What should have happened?
Images appearing as they should on img2img with the --gradio-img2img-tool color-sketch argument active and using the send to img2img button.
Inpaint without a double
Image Browser "send to..." buttons to send images to destination.
Commit where the problem happens
310b71f
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
Additional information, context and logs
Google chrome console Log after Using "send to img2img" from txt2img