stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

add callback before image saved

Open tsngo opened this issue 3 years ago • 1 comments

Add a before image save callback and fix some typos

Support for https://github.com/tsngo/stable-diffusion-webui-aesthetic-image-scorer

tsngo avatar Oct 25 '22 06:10 tsngo

@AUTOMATIC1111 this adds the before saving callback

tsngo avatar Oct 25 '22 13:10 tsngo

I made an alternate implementation with all params being passed in a same object, for both before and after image saving, 0cd74602531a40f72d1a75b471a8a9166135d333.

AUTOMATIC1111 avatar Oct 26 '22 10:10 AUTOMATIC1111

Great, thanks. Was trying to find a want to not break extensions when new params added and this looks to do the trick. Closing this PR.

tsngo avatar Oct 26 '22 11:10 tsngo