aboutsummaryrefslogtreecommitdiffstats
path: root/modules/images.py
AgeCommit message (Collapse)AuthorLines
2022-09-17fix for broken export for 4chanAUTOMATIC-1/+1
2022-09-17add support for switching model checkpoints at runtimeAUTOMATIC-1/+1
2022-09-17fixAUTOMATIC-1/+0
2022-09-17the last PR broke saving EXiF completely for me. I don't know if it was ↵AUTOMATIC-10/+7
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.
2022-09-17image.save parameter fixJJ-3/+8
* 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
2022-09-16Replace invalid filename chars with an underscoreTwizzes-1/+1
... instead of removing them altogether. This makes the prompt editing filenames [old:new:step] easier to read
2022-09-15Merge remote-tracking branch 'origin/master'AUTOMATIC-0/+3
2022-09-15fix for failing to save 4chan downscale for large iamgesAUTOMATIC-7/+8
2022-09-15exif fix for webpJJ-0/+3
* 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
2022-09-15Improved directory sanitization when --hide_ui_dir_configEyeDeck-1/+4
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
2022-09-14Update images.pyMichoko-9/+10
Better code
2022-09-14Update images.pyMichoko-5/+12
Handles grids names. Code more robust and doesn't fail if mixed with other files.
2022-09-14Update images.pyMichoko-2/+14
Better computing of images indexes in filenames
2022-09-14updates for exif comments #446AUTOMATIC-1/+1
2022-09-14format exif stringJJ-2/+2
* 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
2022-09-14prevent extras from saving in dirJustAnOkapi-5/+2
Extras have none of the vars used in dir names, so they cant be saved into dirs. +grid code cleanup
2022-09-14add webp to file formats with exif savedJJ-1/+1
2022-09-13revert the breaking change in font sneaked in by the person who did EXIF #407AUTOMATIC-1/+1
2022-09-13add support for reading saved jpeg commentsAUTOMATIC-7/+9
2022-09-13save the exif data upon image writeJJ-1/+1
2022-09-13add metadata to jpg and non-png image filesJJ-2/+11
* needs a piexif module install * dumps the info in an Exif "UserComment" * update to webui.bat
2022-09-13Fix #368oobabooga-1/+1
2022-09-13Ability to save images into a folder named after the date they were created #353AUTOMATIC-21/+31
2022-09-12Include the model name (or the SHA256 of the file) in the metadata #271AUTOMATIC-1/+3
2022-09-12 X/Y plot can not output the final result with this error message #244AUTOMATIC-1/+6
2022-09-12 [Feature Request] Save defaults for extras & keep image parameters after ↵AUTOMATIC-2/+9
using extras #251
2022-09-12allow resizing into non-integer sizesAUTOMATIC-1/+1
2022-09-12 [BUG] Not Working As Intended - create a directory with name derived from ↵AUTOMATIC-18/+19
the prompt #306
2022-09-11Add a samples filename format optionMichoko-3/+19
Adds a "samples filename format" option in the settings. This format can be defined by tags for maximum flexibility and scalability.
2022-09-11 [Feature Request] Save defaults for extras & keep image parameters after ↵AUTOMATIC-2/+2
using extras #251
2022-09-10fixed broken empty directory when prompt does not start with letter, this ↵AUTOMATIC-1/+1
time for real
2022-09-10enabled negative prompt by defaultAUTOMATIC-1/+1
fixed broken empty directory when prompt does not start withl etter
2022-09-10separated options for sample and grid dir saving for #222AUTOMATIC-1/+6
2022-09-10add batch count to sd upscale #169AUTOMATIC-1/+1
fix writing empty prompt pictures to rroot directory instead of 'empty' suppress 'Denoising strength change factor' text inimage info unless using loopback mode
2022-09-10 Emoji are not being sorted correctly #192AUTOMATIC-2/+4
2022-09-09Cleaner conditionorionaskatu-4/+1
2022-09-09Embed robotoorionaskatu-1/+5
2022-09-09added resize seeds and variation seeds featuresAUTOMATIC-1/+1
2022-09-06fix grid overwriting bugAUTOMATIC-2/+2
2022-09-04ESRGAN supportAUTOMATIC-4/+34
2022-09-04added poor man's inpainting scriptAUTOMATIC-6/+9
2022-09-03split codebase into multiple files; to anyone this affects negatively: sorryAUTOMATIC-0/+290