Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Image postprocessing extension for stable diffusion webui.

License

Notifications You must be signed in to change notification settings

Zuellni/Stable-Diffusion-WebUI-Image-Filters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Preview

preview

Comparison

Base Filtered
base filtered

About

Image postprocessing extension for stable diffusion webui.

Topics

Resources

License

Stars

Watchers

Forks

Languages