mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-20 09:57:49 +02:00
Created Custom Modifiers (markdown)
parent
074766bfc5
commit
a34b5ce616
13
Custom-Modifiers.md
Normal file
13
Custom-Modifiers.md
Normal file
@ -0,0 +1,13 @@
|
||||
This feature allows adding custom modifiers with images, instead of just text values.
|
||||
|
||||
It looks for images in a `modifiers` folder and adds them to the object read from `modifiers.json`. If an image is directly inside of `modifiers` then it will be added to a Modifiers category. Images in direct subfolders will have the folder names as the category. Otherwise images in sub-sub folders etc... will have the folder path be the category (ex: `modifiers/Foo/Bar` will become `Foo/Bar`). The order of categories defined in `modifiers.json` is preserved, and new categories will be added at the end sorted alphabetically.
|
||||
|
||||
If the image ends in ` Portrait`, `.Portrait`, `-Portrait`, or `_Portrait` (case insensitive) it will be considered a portrait image, and if it has Landscape instead it would be a landscape image, and the portrait/landscape suffix will be removed from the modifier name. Otherwise the image will be used as both the portrait and landscape.
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
Loading…
x
Reference in New Issue
Block a user