Skip to content
Discussion options

You must be logged in to vote

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

def save_files(js_data, images, do_make_zip, index):
filenames = []
fullfns = []
parsed_infotexts = []
# quick dictionary to class object conversion. Its necessary due apply_filename_pattern requiring it
class MyObject:
def __init__(self, d=None):

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Rabcor
Comment options

Answer selected by Rabcor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants