LonicaMewinsky
LonicaMewinsky
This seems to happen with images < 480 height. When scripted to resize to at least 480 height, images behave properly. Maybe it's a Gradio limitation, not a WebUI limitation?
Maybe a button for "Send dimensions to img2img"? Rather than relying on upload function, that is.
Looks like the image value is coming through as a dict. This spits out the dimensions: ``` def send_dimensions(image): if(image): #do nothing if there's no value there interm = np.asarray(image.get('image'))...
In retrospect this is probably better suited for Discussions. That said, I'm not exactly a Gradio/Python wizard either, but here's a fork with "send dimensions to *2img" implemented: https://github.com/LonicaMewinsky/sd-webui-controlnet_lonica Hooking...
Derp, thanks. Totally reversed w/h. Definitely like the toolbutton more.
@Alchete, I haven't seen any better ideas or work since I forked with the "send dimensions" button, so I just made a PR that adds a ToolButton:  I've also...
@genewitch is this what you're talking about? (This scales with the w/h generation sliders).  FWIW, works on my machine with fresh/current clones, but I have seen it randomly stop...