Upscaling - options to preserve original filenames or at least reference to the original filename #7452
cryptotester
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm generating images I intend to classify and process later.
My workflow: I generate 512 * 768 images, then upscale them via Extras tab.
New filenames begin from 00000.png (+jpg).
The original filenames (in the
log/images
&outputs
folders) containnumber-seed-partialprompt
: I'd like to preserve that info when upscaling the image.Ideally I'd like to upscale keeping the same filename. If the target filename exists already, there can be an option to append something to the new filename, e.g. if I upscale
00000-3071254245-astronaut cat, moon.png
several times, the second version should be00000-3071254245-astronaut cat, moon-000.png
, then if I upscale it again00000-3071254245-astronaut cat, moon-001.png
etc. (or something like that, so to sort alphabetically and have them grouped together).Alternative idea: when upscaling, maybe a feature to add to the txt, if the option Settings > Saving images/grids >
Save text information about generation parameters as chunks to png files
was selected? That should be the easiest thing to implement in my opinion. It saves the Upscaler used in the txt, it can add a new line with the original filename. So, people who need, like me, to associate an upscaled image to the original, can write a script that reads all those TXTs and process the information how they want.Thoughts?
Also, now I need to manually find which file was upscaled from which file, in order to find out the seed and original prompt (which is saved in the log file). Ideas? Are there some (AI) tools to recognize which smaller version was used to upscale a big image? Bascially: load an upscale image, scan another folder with all the small versions and find the best match?
Beta Was this translation helpful? Give feedback.
All reactions