LonicaMewinsky

Results 7 comments of 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: ![image](https://user-images.githubusercontent.com/93007558/221990985-d71fa50e-4716-49aa-b676-7042b10a2a16.png) I've also...

@genewitch is this what you're talking about? (This scales with the w/h generation sliders). ![image](https://user-images.githubusercontent.com/93007558/225993529-ce48fd5e-4565-4a84-b327-4564b8e0b504.png) FWIW, works on my machine with fresh/current clones, but I have seen it randomly stop...