aboutsummaryrefslogtreecommitdiffstats
path: root/bot/resources
diff options
context:
space:
mode:
Diffstat (limited to 'bot/resources')
-rw-r--r--bot/resources/spookifications.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bot/resources/spookifications.py b/bot/resources/spookifications.py
index aeb8388b..880b24e7 100644
--- a/bot/resources/spookifications.py
+++ b/bot/resources/spookifications.py
@@ -2,6 +2,10 @@ from PIL import ImageOps
def inversion(im):
+ """Inverts an image.
+
+ Returns an inverted image when supplied with an Image object.
+ """
im = im.convert('RGB')
inv = ImageOps.invert(im)
return inv