Image Filters
A simple image postprocessing extension for stable diffusion webui.
Applies various effects to generated images in pixel space just before they're saved.
Works with txt2img, img2img, and in the extras tab.
Pilgram filters courtesy of akiomik.
Notes
If, after updating, certain values are not displaying correctly in the webui, you should remove all lines containing customscript/image_filters.py
from your ui-config.json
file in the root directory.
You can also edit the maximum values in the same file to your liking.
To move this script up or down in hierarchy you should rename the stable-diffusion-webui-image-filters
directory in extensions
. The scripts are loaded in alphabetical order.
For detailed information on how each filter functions I recommend reading the Pillow documentation: ImageEnhance, ImageFilter, ImageOps.
There seems to be an issue with the aden
filter and non-square images so I didn't include it.