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

make the "visualize and make template" preview the same aspect ratio than the gen image #234

Closed
Hellrunner2k opened this issue Sep 21, 2023 · 4 comments

Comments

@Hellrunner2k
Copy link

Hellrunner2k commented Sep 21, 2023

this is the first thing that ppl ask when they start with regional prompter... can i see this over my picture?

  • so the preview window should be the same aspect ratio than the width/height of the generated image
  • in img2img a 50/50 overlay with the input image would be really neat

this might be a minor change that does not affect the internal workings of the magic, might be undervalued, but would have a HUGE bump up in quality of the extension.

thx for your attention ... ^^

hako-mikan added a commit that referenced this issue Sep 22, 2023
@hako-mikan
Copy link
Owner

For now, I have made it so that you can input the size of the template. Since it is difficult to automatically retrieve the size due to gradio's specifications, please input it. Regarding the overlay, I plan to implement it in due course.

hako-mikan added a commit that referenced this issue Oct 18, 2023
@hako-mikan
Copy link
Owner

Added overlay.
overlay

@warrockmill
Copy link

Just to ask but in your screenshot you have an image in the background. Trying this on my Web UI I can't find any such preview.
Is it there to provide an example of the ratio being applied or is there meant to be a background image in img2img/inpaint? Thanks.

@Ineman
Copy link

Ineman commented Jun 4, 2024

Does 'overlay ratio' do nothing at all in txt2img?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants