Commit Graph
11 Commits
Author SHA1 Message Date
Manuel Schmid f1261028b8 feat: use optimized jpg parameters when saving the image
quality=95
optimize=True
progressive=True
2024-01-16 01:01:51 +01:00
Manuel Schmid 5b633f6cf8 refactor: rename image_extension to image_file_extension 2024-01-14 23:38:36 +01:00
Manuel Schmid 2b802da365 feat: always show image_extension element
this is now possible due to image extension support in gradio via https://github.com/lllyasviel/Fooocus/pull/1932
2024-01-14 21:59:24 +01:00
Manuel Schmid dc6c02540a Merge branch 'feature/use-consistent-file-name-in-gradio' into jpg_config_image_extension
# Conflicts:
#	modules/async_worker.py
#	modules/private_logger.py
2024-01-14 21:47:05 +01:00
Manuel Schmid eeb57f3ff5 chore: code cleanup, remove redundant if statement 2024-01-14 21:20:13 +01:00
Manuel Schmid 1779fa0f3a feat: use args temp path if given 2024-01-14 21:19:01 +01:00
Manuel Schmid 161b988522 feat: delete temp images after yielding to gradio 2024-01-14 21:16:16 +01:00
Manuel Schmid 3c855bd331 feat: use consistent file name in gradio
returns and uses filepaths instead of numpy image by saving to temp dir
uses double the temp dir file storage on disk as it saves to temp dir and gradio temp dir when displaying the image, but reuses logged output image
2024-01-14 20:21:33 +01:00
Manuel Schmid 26f31ff2bd feat: add webp to image_extensions
supported image extemsions: see https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html
2024-01-14 14:25:52 +01:00
Manuel Schmid d79c1d5a27 refactor: change label 2024-01-14 14:25:01 +01:00
Manuel Schmid 694763447d fix: add missing image_extension parameter to log call 2024-01-14 14:23:36 +01:00