aboutsummaryrefslogtreecommitdiffstats
path: root/modules/images.py
AgeCommit message (Collapse)AuthorLines
2023-01-04Revert "Merge pull request #3791 from shirayu/fix/filename"AUTOMATIC-12/+4
This reverts commit eed58279e7cb0e873ebd88a29609f9bab0f1f3af, reversing changes made to 4ae960b01c6711c66985479f14809dc7fa549fc2.
2023-01-04Merge pull request #3791 from shirayu/fix/filenameAUTOMATIC1111-4/+12
Truncate too long filename (Fix #705)
2023-01-02Hires fix reworkAUTOMATIC-4/+20
2023-01-01rework of callback for #6094AUTOMATIC-4/+6
2023-01-01Merge pull request #6094 from AlUlkesh/masterAUTOMATIC1111-0/+1
Adding image numbers on grids
2023-01-01Adding image numbers on gridsAlUlkesh-0/+1
New grid option in settings enables adding of image numbers on grids. This makes identifying the images, especially in larger batches, much easier. Revert "Adding image numbers on grids" This reverts commit 3530c283b4b1d3a3cab40efbffe4cf2697938b6f. Implements Callback for image grid loop Necessary to make "Add image's number to its picture in the grid" extension possible.
2022-12-26fix rgba to rgb when using jpeg outputVladimir Mandic-0/+3
2022-12-24fix F541 f-string without any placeholdersYuval Aboulafia-1/+1
2022-12-24Merge pull request #5753 from calvinballing/masterAUTOMATIC1111-2/+2
Fix various typos
2022-12-24add an option for img2img background colorAUTOMATIC-0/+11
2022-12-17fix: Modify font size when unable to fit in plotMMaker-7/+16
This prevents scenarios where text without line breaks will start overlapping with each other when generating X/Y plots. This is most evident when generating X/Y plots with checkpoints, as most don't contain spaces and sometimes include extra information such as the epoch, making it extra long.
2022-12-14Fix various typosJim Hays-2/+2
2022-12-10Merge pull request #5119 from 0xb8/masterAUTOMATIC1111-22/+29
Atomically rename saved image to avoid race condition with other processes
2022-11-27rework #5012 to also work for pictures dragged into the prompt and also add ↵AUTOMATIC-1/+37
Clip skip + ENSD to parameters
2022-11-27Atomically rename saved image to avoid race condition with other processes.cat-22/+29
2022-11-27Merge pull request #4986 from mcmonkey4eva/add-model-nameAUTOMATIC1111-0/+1
add model_name pattern for saving
2022-11-27serve images from where they are saved instead of a temporary directoryAUTOMATIC-0/+2
add an option to choose a different temporary directory in the UI add an option to cleanup the selected temporary directory at startup
2022-11-23add filename santizationAlex "mcmonkey" Goodwin-1/+1
Probably redundant, considering the model name *is* a filename, but I suppose better safe than sorry.
2022-11-23add model_name pattern for savingAlex "mcmonkey" Goodwin-0/+1
2022-11-19change StableDiffusionProcessing to internally use sampler name instead of ↵AUTOMATIC-1/+1
sampler index
2022-10-31Add PNG info to pngs only if option is enabled.timntorres-2/+3
2022-10-29Update images.pyYaiol-4/+5
Filename tags [height] and [width] are wrongly referencing to process size instead of resulting image size. Making all upscale files named wrongly.
2022-10-27Truncate too long filenameYuta Hayashibe-4/+12
2022-10-26add script callback for before image save and change callback for after ↵AUTOMATIC-18/+24
image save to use a class with parameters
2022-10-26default_time_format if format is blankw-e-w-1/+1
2022-10-26images: allow nested bracket in filename patternMilly-7/+4
2022-10-25fix default filename patternw-e-w-1/+3
2022-10-25Merge branch 'master' into on-image-saved-callbackAUTOMATIC1111-62/+134
2022-10-24UnknownTimeZoneErrorw-e-w-1/+4
2022-10-24add an option to skip adding number to filenames when saving.AUTOMATIC-120/+130
rework filename pattern function go through the pattern once and not calculate any of replacements until they are actually encountered in the pattern.
2022-10-24use the same datetime object for [date] and [datetime]w-e-w-2/+3
2022-10-24replace_datetime() can now accept a datetime parameterw-e-w-5/+11
2022-10-24remove lowercasing file_decoration as it is not needed anymorew-e-w-1/+1
2022-10-24add sanitize_filename() to datetimew-e-w-0/+1
2022-10-24replace "srt.replace()" in apply_filename_pattern() with equivalent re.sub()w-e-w-18/+17
the file_decoration passed into apply_filename_pattern() is formatted to lowercase to increase compatibility the use of case sensitive srt.replace() but because the newly implemented "time format" is case sensitive the lowercasing the file_decoration will cause time format to be broken in order to resolve this issue I decided to replace every srt.replace() and in if "str" in x to regular expression (case insensitive) equivalent
2022-10-24filename pattern [datetime], extended customizable Format and Time Zonew-e-w-1/+53
format: [datetime] [datetime<Format>] [datetime<Format><Time Zone>]
2022-10-24modify unnecessary sting assignment as it's going to get overwrittenw-e-w-2/+2
2022-10-24move "file_decoration" initialize sectionw-e-w-12/+12
into "if forced_filename is None:" no need to initialize it if it's not going to be used
2022-10-24add callback after image is savedTrung Ngo-1/+2
2022-10-21Remove redundant try/except.timntorres-5/+1
2022-10-21Revise comments.timntorres-1/+1
2022-10-21Do nothing if image file already exists.timntorres-1/+5
2022-10-14Add option to prevent empty spots in grid (2/2)Gugubo-1/+4
2022-10-14Change grid row count autodetect to prevent empty spotsGugubo-2/+3
Instead of just rounding (sometimes resulting in grids with "empty" spots), find a divisor. For example: 8 images will now result in a 4x2 grid instead of a 3x3 with one empty spot.
2022-10-14make pasting into img2img prompt workAUTOMATIC-18/+18
make image params request not use temp files
2022-10-12Add drag/drop param loading.d8ahazard-0/+20
Drop an image or generational text onto the prompt bar, it loads the info for parsing.
2022-10-09Support `Download` for txt files.aoirusann-2/+37
2022-10-06Prefer using `Processed.sd_model_hash` attribute when filename patternMilly-1/+1
2022-10-06Added job_timestamp to ProcessedMilly-1/+1
So `[job_timestamp]` pattern can use in saving image UI.
2022-10-06Added styles to ProcessedMilly-6/+1
So `[styles]` pattern can use in saving image UI.