stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Batch img2img: providing Output directory doesn't follow settings
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
In Batch img2img, when providing a path under "Output directory", the following occurs: - the generated filenames are the same as the corresponding file that it was generated from. - if you provide the same output directory as the input directory, the input images are overwritten. - if you provided a jpg file, the output will be jpg as well (despite settings) - generated images don't have embedded parameters (PNG info)
This is despite the following settings: - File format for images: png - Images filename pattern: custom filename pattern - File format for grids: png - [x] Save text information about generation parameters as chunks to png files - [x] Create a text file next to every image with generation parameters.
Steps to reproduce the problem
- img2img tab
- provide a path that contains jpg files as "Input directory"
- provide the same "Output directory" as your "Input directory" (files will be overwritten), or provide a different directory (as long as "Output directory" is not empty.
- Generate
What should have happened?
- The output image format should follow your settings (png).
- The output images should have embedded generation parameter info
- At least one txt file of the generation parameters should be created within the output directory
Commit where the problem happens
88e01b237e60730338823ac4f11972a98d698ce7
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox, Google Chrome, Brave, Microsoft Edge
Command Line Arguments
--xformers
Additional information, context and logs
If you leave "Output directory" empty, there are no issues.
yeah the parameters on files from batch would be so helpful :(