Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

Is there a way to output to a grid image intead of a series of files? #5

Open
tusharbhutt opened this issue Oct 26, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@tusharbhutt
Copy link

Hi,

I'm going to check out this script based on my question here:

AUTOMATIC1111/stable-diffusion-webui#3608

but I was wondering, can output be sent to a grid image? I think this outputs HTML files that you "flip" through, if I am reading correctly. Ideally, I'd want to see the images plotted on a single output grid with increasing resolution for 20 steps on row one, then 30 steps on row two, etc. Yup, I know the row would look wonky because it would have to accommodate the larger pictures next to the smallest, but it would save flipping files.

Thanks for any advice you may be able to offer

@NikkMann
Copy link

I basically asked the same thing before when I asked if he could make batch count and size work, answer is no.

@tusharbhutt
Copy link
Author

I basically asked the same thing before when I asked if he could make batch count and size work, answer is no.

OK, good to know. Thanks :)

@zer0TF
Copy link
Owner

zer0TF commented Nov 12, 2022

Not sure I understand what you want the output file(s) to look like, can you provide an example?

And just to answer your question - no this does not output the traditional "X/Y grid" composite images, only the individual images generated. If you want an image grid, just use the X/Y Plot script. 🙂

@NikkMann
Copy link

Basically it would be what I posted before. Example:
https://drive.google.com/file/d/1BbZ5hF0LAw_UNuZsasFiu7GrhcbuZJX2/view

This is what the normal X/Y script outputs with a batch count of 4 AND a batch size of 4, so each "point" on the X/Y plot is generating 16 images and then tiling all of them into 1 image while keeping all of their original resolutions (so you get one ridiculously high-res image at the end).
And then with your X/Y/Z plot, you could add a Z value (maybe different samplers, step values, etc), so you could flip through them

@zer0TF zer0TF added the enhancement New feature or request label Jan 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants