-
I could only find an option to save all files as a specific format (e.g. png, jpeg, and webp) but I would prefer if the cached files that by default go to the Is there a solution to save different formats to different directories? (and tip for anyone reading this that might not know, lossless webp is about 75% of the size of a png without any loss of quality, I double checked with checksum to verify this too, hence why i use webp instead of png) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I wrote an extension for you that allows you to configure a different file type when using the save buttons alternatively if you don't want to install an extension you could modify edit the file stable-diffusion-webui/modules/ui_common.py Lines 64 to 82 in 82a973c and find the line if you want to change it to wepb then modify it to
extension: str = 'wepb' save and restart web ui |
Beta Was this translation helpful? Give feedback.
I wrote an extension for you that allows you to configure a different file type when using the save buttons
https://github.com/w-e-w/sd-webui-different-save-button-image-format
alternatively if you don't want to install an extension you could modify
the code directly
edit the file
modules/ui_common.py
find the function
save_files
stable-diffusion-webui/modules/ui_common.py
Lines 64 to 82 in 82a973c