Skip to content

Commit b425b97

Browse files
committed
improve img fromat description
1 parent 539ea39 commit b425b97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/shared_options.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131

3232
options_templates.update(options_section(('saving-images', "Saving images/grids", "saving"), {
3333
"samples_save": OptionInfo(True, "Always save all generated images"),
34-
"samples_format": OptionInfo('png', 'File format for images', ui_components.DropdownEditable, {"choices": ("png", "jpg", "jpeg", "webp", "avif")}).info("manual input of other formats supported by PIL is possible, but may have limited compatibility with other features"),
34+
"samples_format": OptionInfo('png', 'File format for images', ui_components.DropdownEditable, {"choices": ("png", "jpg", "jpeg", "webp", "avif")}).info("manual input of <a href='https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html' target='_blank'>other formats</a> is possible, but compatibility is not guaranteed"),
3535
"samples_filename_pattern": OptionInfo("", "Images filename pattern", component_args=hide_dirs).link("wiki", "https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Custom-Images-Filename-Name-and-Subdirectory"),
3636
"save_images_add_number": OptionInfo(True, "Add number to filename when saving", component_args=hide_dirs),
3737
"save_images_replace_action": OptionInfo("Replace", "Saving the image to an existing file", gr.Radio, {"choices": ["Replace", "Add number suffix"], **hide_dirs}),
3838
"grid_save": OptionInfo(True, "Always save all generated image grids"),
39-
"grid_format": OptionInfo('png', 'File format for grids', ui_components.DropdownEditable, {"choices": ("png", "jpg", "jpeg", "webp", "avif")}).info("manual input of other formats supported by PIL is possible, but may have limited compatibility with other features"),
39+
"grid_format": OptionInfo('png', 'File format for grids', ui_components.DropdownEditable, {"choices": ("png", "jpg", "jpeg", "webp", "avif")}).info("manual input of <a href='https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html' target='_blank'>other formats</a> is possible, but compatibility is not guaranteed"),
4040
"grid_extended_filename": OptionInfo(False, "Add extended info (seed, prompt) to filename when saving grid"),
4141
"grid_only_if_multiple": OptionInfo(True, "Do not save grids consisting of one picture"),
4242
"grid_prevent_empty_spots": OptionInfo(False, "Prevent empty spots in grid (when set to autodetect)"),

0 commit comments

Comments
 (0)