aboutsummaryrefslogtreecommitdiff
path: root/modules/images.py
AgeCommit message (Collapse)Author
2023-05-10imports cleanup for ruffAUTOMATIC
2023-05-10manual fixes for ruffAUTOMATIC
2023-05-10autofixes from ruffAUTOMATIC
2023-05-09Fix up string formatting/concatenation to f-strings where feasibleAarni Koskela
2023-05-06add denoising strength filename patternw-e-w
2023-04-29rework [batch_number]/[generation_number] filename patternsAUTOMATIC
2023-04-29Merge branch 'dev' into masterAUTOMATIC1111
2023-04-29Merge branch 'dev' into Branch_AddNewFilenameGenAUTOMATIC1111
2023-04-16Add self argument that is mandatory to [clip_skip] filename pattern.File_xor
2023-04-16Add filename pattern for CLIP_stop_at_last_layers.File_xor
2023-04-15Add new FilenameGenerator [hasprompt<prompt1|default><prompt2>..]tqwuliao
2023-04-07Add [batch_number] and [generation_number] filename patternsgk
2023-03-26for img2img, use None as upscaler instead of erroring out if the desired ↵AUTOMATIC
upscaler is not found
2023-03-25bump gradio to 3.23AUTOMATIC
fix broken image dragging
2023-03-12update `fullfn` properlyAlex "mcmonkey" Goodwin
2023-03-12add safety check in case of short extensionsAlex "mcmonkey" Goodwin
so eg if a two-letter or empty extension is used, `.txt` would break, this `max` call protects that.
2023-03-12relocate filename length limit to better spotAlex "mcmonkey" Goodwin
2023-03-11initial fix for filename length limits on *nix systemsAlex "mcmonkey" Goodwin
2023-02-24Add lossless webp optionmissionfloyd
2023-02-20convert resolution to int using round()w-e-w
2023-02-19Merge pull request #7691 from missionfloyd/16bit-convertAUTOMATIC1111
Convert 16-bit greyscale to 8-bit when saving as JPEG
2023-02-19reword settings for 4chan export, remove unneded try/excepts, add try/except ↵AUTOMATIC
for actually saving JPG
2023-02-09Use RGB for webpmissionfloyd
Doesn't support greyscale (L)
2023-02-09Convert 16-bit greyscale to 8-bit when saving as JPEGmissionfloyd
2023-02-05use Default if ValueErrorw-e-w
2023-02-05configurable image downscalew-e-w
allowing the user to configure the image downscale parameters in setting
2023-02-05adds grid margins to xyz plot and prompt matrixEllangoK
2023-02-05Add prompt_hash option for file/dir name patterntechneconn
2023-02-04add margin parameter to draw_grid_annotationsAUTOMATIC
2023-01-28Reduce grid rows if larger than number of images availableglop102
When a set number of grid rows is specified in settings, then it leads to situations where an entire row in the grid is empty. The most noticable example is the processing preview when the row count is set to 2, where it shows the preview just fine but with a black rectangle under it.
2023-01-24handling sub grids and merging into oneEllangoK
2023-01-17make it so that PNG images with EXIF do not lose parameters in PNG info tabAUTOMATIC
2023-01-04Revert "Merge pull request #3791 from shirayu/fix/filename"AUTOMATIC
This reverts commit eed58279e7cb0e873ebd88a29609f9bab0f1f3af, reversing changes made to 4ae960b01c6711c66985479f14809dc7fa549fc2.
2023-01-04Merge pull request #3791 from shirayu/fix/filenameAUTOMATIC1111
Truncate too long filename (Fix #705)
2023-01-02Hires fix reworkAUTOMATIC
2023-01-01rework of callback for #6094AUTOMATIC
2023-01-01Merge pull request #6094 from AlUlkesh/masterAUTOMATIC1111
Adding image numbers on grids
2023-01-01Adding image numbers on gridsAlUlkesh
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
2022-12-24fix F541 f-string without any placeholdersYuval Aboulafia
2022-12-24Merge pull request #5753 from calvinballing/masterAUTOMATIC1111
Fix various typos
2022-12-24add an option for img2img background colorAUTOMATIC
2022-12-17fix: Modify font size when unable to fit in plotMMaker
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
2022-12-10Merge pull request #5119 from 0xb8/masterAUTOMATIC1111
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
Clip skip + ENSD to parameters
2022-11-27Atomically rename saved image to avoid race condition with other processes.cat
2022-11-27Merge pull request #4986 from mcmonkey4eva/add-model-nameAUTOMATIC1111
add model_name pattern for saving
2022-11-27serve images from where they are saved instead of a temporary directoryAUTOMATIC
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
Probably redundant, considering the model name *is* a filename, but I suppose better safe than sorry.