diff options
Diffstat (limited to 'bot/resources')
| -rw-r--r-- | bot/resources/spookifications.py | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/bot/resources/spookifications.py b/bot/resources/spookifications.py new file mode 100644 index 00000000..aeb8388b --- /dev/null +++ b/bot/resources/spookifications.py @@ -0,0 +1,7 @@ +from PIL import ImageOps + + +def inversion(im): +    im = im.convert('RGB') +    inv = ImageOps.invert(im) +    return inv  |