142 Commits (master)

Author SHA1 Message Date
AUTOMATIC 2f18823e69 fix for broken export for 4chan 3 years ago
AUTOMATIC 247f58a5e7 add support for switching model checkpoints at runtime 3 years ago
AUTOMATIC 1fc1c537c7 fix 3 years ago
AUTOMATIC 3c665b8dd6 the last PR broke saving EXiF completely for me. I don't know if it was broken already or some condition changed, but it seems like the person who originally added EXIF said, saving it with PIL may not work. I switched to using piexif to add data after the file written. 3 years ago
JJ 4f1f348b6a image.save parameter fix
* image.save takes exif as a parameter
* piexif takes the bytes as a parameter, not the exif_bytes function itself
* reduce calls to create_exif_bytes
3 years ago
Twizzes deea9f4d70 Replace invalid filename chars with an underscore
... instead of removing them altogether.
This makes the prompt editing filenames [old🆕step] easier to read
3 years ago
AUTOMATIC cdaab233c4 Merge remote-tracking branch 'origin/master' 3 years ago
AUTOMATIC 6d2eb339d6 fix for failing to save 4chan downscale for large iamges 3 years ago
JJ 9611008445 exif fix for webp
* fix for odd error only in webp files whereby piexif.insert inserts the bytes correctly, but image.save inserts extra "Exif" in the image metadata which results in an error on reading
3 years ago
EyeDeck dfb2e830d9 Improved directory sanitization when --hide_ui_dir_config
Fixes an issue where it's still possible to write to arbitrary directories through careful use of \.. or /.. in directory patterns

...and fix the regex to work better

reeeegex
3 years ago
Michoko 6153d9d9e9 Update images.py
Better code
3 years ago
Michoko d5520d43fd Update images.py
Handles grids names. Code more robust and doesn't fail if mixed with other files.
3 years ago
Michoko 94aeb5dec9 Update images.py
Better computing of images indexes in filenames
3 years ago
AUTOMATIC bb2732c1c7 updates for exif comments #446 3 years ago
JJ c4e90bf689 format exif string
* UserComment needs an ID code at the start of the tag area. This is provided by piexif.helper.UserComment, otherwise an "Warning 	 Invalid EXIF text encoding for UserComment" is thrown upon reading the exif data
3 years ago
JustAnOkapi f9f9d04b5f prevent extras from saving in dir
Extras have none of the vars used in dir names, so they cant be saved into dirs.
+grid code cleanup
3 years ago
JJ 859fff3700 add webp to file formats with exif saved 3 years ago
AUTOMATIC 29022300ba revert the breaking change in font sneaked in by the person who did EXIF #407 3 years ago
AUTOMATIC b6b9faa779 add support for reading saved jpeg comments 3 years ago
JJ 27c2a0680a save the exif data upon image write 3 years ago
JJ 34cf684419 add metadata to jpg and non-png image files
* needs a piexif module install
* dumps the info in an Exif "UserComment"
* update to webui.bat
3 years ago
oobabooga 3e1f9ab8b3
Fix #368 3 years ago
AUTOMATIC db8f8dd972 Ability to save images into a folder named after the date they were created #353 3 years ago
AUTOMATIC 3de44fc580 Include the model name (or the SHA256 of the file) in the metadata #271 3 years ago
AUTOMATIC 45e8fa0e07 X/Y plot can not output the final result with this error message #244 3 years ago
AUTOMATIC 482a6ce8cb [Feature Request] Save defaults for extras & keep image parameters after using extras #251 3 years ago
AUTOMATIC 11e648f6c7 allow resizing into non-integer sizes 3 years ago
AUTOMATIC a4416f3585 [BUG] Not Working As Intended - create a directory with name derived from the prompt #306 3 years ago
Michoko 4535239d8a Add a samples filename format option
Adds a "samples filename format" option in the settings. This format can be defined by tags for maximum flexibility and scalability.
3 years ago
AUTOMATIC f185874418 [Feature Request] Save defaults for extras & keep image parameters after using extras #251 3 years ago
AUTOMATIC 1b963c205f fixed broken empty directory when prompt does not start with letter, this time for real 3 years ago
AUTOMATIC 43bdbe934a enabled negative prompt by default
fixed broken empty directory when prompt does not start withl etter
3 years ago
AUTOMATIC decbbe81f5 separated options for sample and grid dir saving for #222 3 years ago
AUTOMATIC ef0cdb8a42 add batch count to sd upscale #169
fix writing empty prompt pictures to rroot directory instead of 'empty'
suppress 'Denoising strength change factor' text inimage info unless using loopback mode
3 years ago
AUTOMATIC 6f678ec79c Emoji are not being sorted correctly #192 3 years ago
orionaskatu 89f4bb3ca1 Cleaner condition 3 years ago
orionaskatu 79cca25704 Embed roboto 3 years ago
AUTOMATIC b1707553cf added resize seeds and variation seeds features 3 years ago
AUTOMATIC 5e20657146 fix grid overwriting bug 3 years ago
AUTOMATIC f299645aee ESRGAN support 3 years ago
AUTOMATIC 7350c71259 added poor man's inpainting script 3 years ago
AUTOMATIC 345028099d split codebase into multiple files; to anyone this affects negatively: sorry 3 years ago