aboutsummaryrefslogtreecommitdiffstats
path: root/modules/images.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix up string formatting/concatenation to f-strings where feasibleAarni Koskela2023-05-091-4/+4
|
* add denoising strength filename patternw-e-w2023-05-051-0/+1
|
* rework [batch_number]/[generation_number] filename patternsAUTOMATIC2023-04-291-11/+10
|
* Merge branch 'dev' into masterAUTOMATIC11112023-04-291-0/+18
|\
| * Merge branch 'dev' into Branch_AddNewFilenameGenAUTOMATIC11112023-04-291-3/+9
| |\
| | * Add self argument that is mandatory to [clip_skip] filename pattern.File_xor2023-04-161-1/+1
| | |
| | * Add filename pattern for CLIP_stop_at_last_layers.File_xor2023-04-161-0/+1
| | |
| * | Add new FilenameGenerator [hasprompt<prompt1|default><prompt2>..]tqwuliao2023-04-151-0/+17
| | |
* | | Add [batch_number] and [generation_number] filename patternsgk2023-04-071-0/+6
| |/ |/|
* | for img2img, use None as upscaler instead of erroring out if the desired ↵AUTOMATIC2023-03-261-2/+5
| | | | | | | | upscaler is not found
* | bump gradio to 3.23AUTOMATIC2023-03-251-1/+3
|/ | | | fix broken image dragging
* update `fullfn` properlyAlex "mcmonkey" Goodwin2023-03-121-0/+1
|
* add safety check in case of short extensionsAlex "mcmonkey" Goodwin2023-03-121-1/+1
| | | | so eg if a two-letter or empty extension is used, `.txt` would break, this `max` call protects that.
* relocate filename length limit to better spotAlex "mcmonkey" Goodwin2023-03-121-3/+4
|
* initial fix for filename length limits on *nix systemsAlex "mcmonkey" Goodwin2023-03-111-0/+3
|
* Add lossless webp optionmissionfloyd2023-02-251-1/+1
|
* convert resolution to int using round()w-e-w2023-02-201-2/+2
|
* Merge pull request #7691 from missionfloyd/16bit-convertAUTOMATIC11112023-02-191-0/+2
|\ | | | | Convert 16-bit greyscale to 8-bit when saving as JPEG
| * Use RGB for webpmissionfloyd2023-02-101-1/+1
| | | | | | Doesn't support greyscale (L)
| * Convert 16-bit greyscale to 8-bit when saving as JPEGmissionfloyd2023-02-091-0/+2
| |
* | reword settings for 4chan export, remove unneded try/excepts, add try/except ↵AUTOMATIC2023-02-191-15/+9
| | | | | | | | for actually saving JPG
* | use Default if ValueErrorw-e-w2023-02-051-2/+10
| |
* | configurable image downscalew-e-w2023-02-051-2/+2
|/ | | | allowing the user to configure the image downscale parameters in setting
* adds grid margins to xyz plot and prompt matrixEllangoK2023-02-051-3/+3
|
* Add prompt_hash option for file/dir name patterntechneconn2023-02-051-0/+2
|
* add margin parameter to draw_grid_annotationsAUTOMATIC2023-02-041-7/+10
|
* Reduce grid rows if larger than number of images availableglop1022023-01-291-0/+2
| | | | | | | | 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.
* handling sub grids and merging into oneEllangoK2023-01-241-1/+1
|
* make it so that PNG images with EXIF do not lose parameters in PNG info tabAUTOMATIC2023-01-171-2/+3
|
* Revert "Merge pull request #3791 from shirayu/fix/filename"AUTOMATIC2023-01-041-12/+4
| | | | | This reverts commit eed58279e7cb0e873ebd88a29609f9bab0f1f3af, reversing changes made to 4ae960b01c6711c66985479f14809dc7fa549fc2.
* Merge pull request #3791 from shirayu/fix/filenameAUTOMATIC11112023-01-041-4/+12
|\ | | | | Truncate too long filename (Fix #705)
| * Truncate too long filenameYuta Hayashibe2022-10-271-4/+12
| |
* | Hires fix reworkAUTOMATIC2023-01-021-4/+20
| |
* | rework of callback for #6094AUTOMATIC2023-01-011-4/+6
| |
* | Merge pull request #6094 from AlUlkesh/masterAUTOMATIC11112023-01-011-0/+1
|\ \ | | | | | | Adding image numbers on grids
| * | Adding image numbers on gridsAlUlkesh2023-01-011-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.
* | | fix rgba to rgb when using jpeg outputVladimir Mandic2022-12-261-0/+3
|/ /
* | fix F541 f-string without any placeholdersYuval Aboulafia2022-12-241-1/+1
| |
* | Merge pull request #5753 from calvinballing/masterAUTOMATIC11112022-12-241-2/+2
|\ \ | | | | | | Fix various typos
| * | Fix various typosJim Hays2022-12-151-2/+2
| | |
* | | add an option for img2img background colorAUTOMATIC2022-12-241-0/+11
| | |
* | | fix: Modify font size when unable to fit in plotMMaker2022-12-171-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.
* | Merge pull request #5119 from 0xb8/masterAUTOMATIC11112022-12-101-22/+29
|\ \ | | | | | | Atomically rename saved image to avoid race condition with other processes
| * | Atomically rename saved image to avoid race condition with other processes.cat2022-11-271-22/+29
| | |
* | | rework #5012 to also work for pictures dragged into the prompt and also add ↵AUTOMATIC2022-11-271-1/+37
|/ / | | | | | | Clip skip + ENSD to parameters
* | Merge pull request #4986 from mcmonkey4eva/add-model-nameAUTOMATIC11112022-11-271-0/+1
|\ \ | | | | | | add model_name pattern for saving
| * | add filename santizationAlex "mcmonkey" Goodwin2022-11-231-1/+1
| | | | | | | | | | | | Probably redundant, considering the model name *is* a filename, but I suppose better safe than sorry.
| * | add model_name pattern for savingAlex "mcmonkey" Goodwin2022-11-231-0/+1
| | |
* | | serve images from where they are saved instead of a temporary directoryAUTOMATIC2022-11-271-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
* | change StableDiffusionProcessing to internally use sampler name instead of ↵AUTOMATIC2022-11-191-1/+1
| | | | | | | | sampler index