aboutsummaryrefslogtreecommitdiffstats
path: root/modules/images.py
Commit message (Collapse)AuthorAgeFilesLines
* write infotext to gif image as commentAUTOMATIC11112023-09-301-0/+2
|
* Merge pull request #13068 from JaredTherriault/masterAUTOMATIC11112023-09-301-0/+2
|\ | | | | Load comments from gif images to gather geninfo from gif outputs
| * Load comments from gif images to gather geninfo from gif outputsJaredTherriault2023-09-051-0/+2
| |
* | Merge pull request #13028 from AUTOMATIC1111/fallback-invalid-exifAUTOMATIC11112023-09-091-1/+6
|\ \ | | | | | | Add Fallback at images.read_info_from_image if exif data was invalid
| * | fallback if exif data was invalidAngelBottomless2023-09-031-1/+6
| |/
* | update for #12926AUTOMATIC11112023-09-091-9/+7
| |
* | save_images_add_number_suffixw-e-w2023-09-061-1/+9
|/
* switch to PNG when images too largew-e-w2023-08-191-0/+5
|
* negative_prompt full_prompt hashw-e-w2023-08-181-1/+7
|
* image hashw-e-w2023-08-181-1/+6
|
* split shared.py into multiple files; should resolve all circular reference ↵AUTOMATIC11112023-08-091-12/+16
| | | | import errors related to shared.py
* Add tab and carriage return to invalid filename charscatboxanon2023-08-051-1/+1
|
* bugfix: model name was added together with directory name to infotext and to ↵AUTOMATIC11112023-07-191-1/+1
| | | | [model_name] filename pattern
* Added [none] filename token.Marcus Adams2023-07-151-2/+3
|
* Merge pull request #11748 from huaizong/fix/x/resize-less-than-two-pixel-errorAUTOMATIC11112023-07-131-4/+6
|\ | | | | fix: check fill size none zero when resize (fixes #11425)
| * fix: check fill size none zero when resize (fixes #11425)王怀宗2023-07-121-4/+6
| |
* | Merge pull request #11468 from NoCrypt/grid-colors-optionsAUTOMATIC11112023-07-081-6/+8
|\ \ | | | | | | Add options to change colors in grid
| * | Fix lintNoCrypt2023-06-281-1/+1
| | |
| * | RevisionNoCrypt2023-06-281-4/+9
| | |
| * | Add options to change colors in gridNoCrypt2023-06-281-8/+5
| | |
* | | lint fix for #11492AUTOMATIC11112023-07-081-1/+1
| | |
* | | Merge pull request #11596 from akx/use-read-infoAUTOMATIC11112023-07-081-5/+12
|\ \ \ | | | | | | | | postprocessing: use read_info_from_image
| * | | read_info_from_image: don't mutate info in passed-in imageAarni Koskela2023-07-031-1/+1
| | | |
| * | | read_info_from_image: add typeAarni Koskela2023-07-031-1/+3
| | | |
| * | | read_info_from_image: add `photoshop` to ignoredAarni Koskela2023-07-031-3/+8
| |/ /
* | | Merge pull request #11492 from semjon00/devAUTOMATIC11112023-07-081-3/+9
|\ \ \ | | | | | | | | Fix throwing exception when trying to resize image with I;16 mode
| * | | Fix throwing exception when trying to resize image with I;16 modesemjon002023-07-051-3/+9
| |/ /
* / / fix problem with extra network saving images as previews losing generation infoAUTOMATIC11112023-07-081-2/+12
|/ / | | | | | | add a description for save_image_with_geninfo
* | Merge branch 'dev' into 10141-gradio-user-exifAUTOMATIC11112023-06-271-15/+29
|\|
| * Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressionsAarni Koskela2023-06-021-3/+3
| |
| * remove redundantw-e-w2023-05-311-2/+0
| |
| * fix 10896 pnginfo parametersw-e-w2023-05-311-2/+0
| |
| * rename print_error to report, use it with together with package nameAUTOMATIC2023-05-311-3/+2
| |
| * Merge pull request #10808 from AUTOMATIC1111/fix-disable-png-infoAUTOMATIC11112023-05-311-3/+6
| |\ | | | | | | fix disable png info
| | * fix disable png infow-e-w2023-05-281-3/+6
| | |
| * | Add & use modules.errors.print_error where currently printing exception info ↵Aarni Koskela2023-05-291-6/+3
| |/ | | | | | | by hand
| * Merge pull request #10655 from fumitakayano/fumitakayanoAUTOMATIC11112023-05-271-0/+14
| |\ | | | | | | Added format to specify VAE filename for generated image filenames
| | * Subject:.fumitaka.yano2023-05-231-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improvements to handle VAE filenames in generated image filenames Body:. 1) Added new line 24 to import sd_vae module. 2) Added new method get_vae_filename at lines 340-349 to obtain the VAE filename to be used for image generation and further process it to extract only the filename by splitting it with a dot symbol. 3) Added a new lambda function 'vae_filename' at line 373 to handle VAE filenames. Reason:. A function was needed to get the VAE filename and handle it in the program. Test:. We tested whether we could use this new functionality to get the expected file names. The correct behaviour was confirmed for the following commonly distributed VAE files. vae-ft-mse-840000-ema-pruned.safetensors -> vae-ft-mse-840000-ema-pruned anything-v4.0.vae.pt -> anything-v4.0 ruff response:. There were no problems with the code I added. There was a minor configuration error in a line I did not modify, but I did not modify it as it was not relevant to this modification. Logged. images.py:426:56: F841 [*] Local variable `_` is assigned to but never used images.py:432:43: F841 [*] Local variable `_` is assigned to but never used Impact:. This change makes it easier to retrieve the VAE filename used for image generation and use it in the programme.
| * | Merge pull request #10569 from strelokhalfer/prAUTOMATIC11112023-05-271-3/+7
| |\ \ | | | | | | | | Change 'images.zip' to pattern settings
| | * | Changed 'images.zip' to generation by patternstrelokhalfer2023-05-241-3/+7
| | | |
| * | | Remove try/except in img metadata readcatboxanon2023-05-251-4/+1
| | | |
| * | | Cleaner image metadata readcatboxanon2023-05-241-2/+6
| |/ /
* | | Add a user pattern to the filename generatorJared Deckard2023-06-151-0/+1
| | |
* | | Merge pull request #10905 from AUTOMATIC1111/fix-10896-pnginfo-parametersAUTOMATIC11112023-06-021-4/+0
| | | | | | | | | fix 10896 pnginfo parameters
* | | Merge pull request #10808 from AUTOMATIC1111/fix-disable-png-infoAUTOMATIC11112023-05-311-3/+6
|/ / | | | | fix disable png info
* | use a single function for saving images with metadata both in extra networks ↵AUTOMATIC2023-05-171-29/+41
| | | | | | | | and main mode for #10395
* | Autofix Ruff W (not W605) (mostly whitespace)Aarni Koskela2023-05-111-1/+1
| |
* | Drop fonts + font-roboto deps since we only use the single regular cut of RobotoAarni Koskela2023-05-111-3/+3
| |
* | Deduplicate get_font codeAarni Koskela2023-05-111-6/+7
| |
* | fixes for B007AUTOMATIC2023-05-101-1/+1
| |